/
index.html
650 lines (422 loc) · 18.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
<!doctype html>
<html>
<head>
<title>Zohaib Saleem Portfolio</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="images/zs.jpg">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href='https://fonts.googleapis.com/css?family=Carter+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="touchTouch/touchTouch.css" />
<link href="css/scrolling-nav.css" rel="stylesheet">
<script src="js/jquery-latest.js" type="text/javascript"></script>
<script src="js/nav.js" type="text/javascript"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script src="js/jquery.isotope.js" type="text/javascript"></script>
<script src="js/isotope.pkgd.js" type="text/javascript"></script>
<script src="hor.js" type="text/javascript"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/plugins/ScrollToPlugin.min.js"></script>
<script src="http://maps.googleapis.com/maps/api/js"></script>
</head>
<body id="home">
<div id="fb-root"></div>
<div class="container-fluid ">
<div class="row nav" >
<nav id="menu" class="panel" role="navigation">
<a href="#menu" class="menu-link but" style=" margin-left: 310px;" >☰</a>
<ul>
<h2 style=" font-family: 'Carter One', cursive;">Zohaib Saleem</h2>
<li><a class="page-scroll" href="#home">HOME</a></li>
<li><a class="page-scroll" href="#about">ABOUT</a></li>
<li><a class="page-scroll" href="#skills">SKILLS</a></li>
<li><a class="page-scroll" href="#education">EDUCATION</a></li>
<li><a class="page-scroll" href="#portfolio">PORTFOLIO</a></li>
<li><a class="page-scroll" href="#contact">CONTACT</a></li>
</ul>
<a href="https://www.facebook.com/engr.zohaibsaleem" target="_blank"><img class="rotate" src="images/altIcon1.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon2.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon3.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon4.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon5.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon6.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon7.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon8.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="#"><img class="rotate" src="images/altIcon9.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<a href="https://www.github.com/zohaibsaleem" target="_blank"><img class="rotate" src="images/download.png" style="margin-left:50px; margin-bottom:20px; transition:0.5s;"></a>
<div class="fb-like" data-href="https://www.facebook.com/engr.zohaibsaleem/posts/1612406335744660" data-layout="standard" data-action="like" data-show-faces="false" data-share="false"></div>
</nav>
</div>
<div class="row mainDiv">
<div class="videoOverlay">
<div class="col-md-12 text-center person">
<img src="images/pak.jpg" class="img-responsive pak">
</div>
<div class="col-md-12 text-center name">
<h1 style="font-family: 'Carter One', cursive;">Zohaib Saleem</h1>
<p>Welcome to modern cyber world era</p>
<div style="margin-top:60px;">
<a href="#services"><img src="images/extra-item-2.png" id="butt"></a>
</div>
</div>
</div>
<video autoplay loop>
<source src="video/programming.mp4" type="video/mp4">
<source src="video/programming.webm" type="video/webm">
Your browser does not support the HTML5 video.
</video>
</div>
<div class="row aboutme" id="about">
<div class="col-md-12">
<h2 id="about">ABOUT ME</h2>
<p> Introduction</p>
</div>
<div class="col-md-4">
<img src="images/ps.png" class="img-responsive" style="margin-bottom:25px;">
</div>
<div class="col-md-8 texting">
<h3><img src="images/custom-icon-1.png"> Zohaib Saleem</h3>
<h5>Web Engineer</h5>
<p>These days, pretty much all websites take advantage of external css file to manage look/feel of the html pages. Doing so allows you to change look/feel of all pages by simply modifying just one file, usually called stylesheet.css. However getting fonts to look the same on different devices/OS isn't as simple because different computers/smartphones have different sets of fonts. To overcome this and ensure that all of your visitors view your site with the same font no matter what OS is used, you need to use what's called Web Fonts. You can host it yourself or use ones hosted by other providers, but I prefer Google Web Fonts (free too).</p>
<p>In this post, I will show you how to create a html file, a css file, tell the html file to use css file, and then modify the css file to use Google Web fonts. It's pretty simple. When I started working on this solution, I couldn't find a straight forward tutorial online. So after I figured it out, I decided to post my notes here. For this tutorial you can create both the html file and CSS file on your PC’s internal HD, like in Documents folder. You should create both files with a text editor like Notepad (Windows), Sublime (Mac) or Textmate (Mac). Do NOT use Microsoft Word or TextEdit (Mac).</p>
<button class="btn btn-danger btn-md" style="font-size: 18px; width: 130px; background:#fc6f5c;">read more</button>
</div>
</div>
<div class="row responsive">
<div class="col-md-12 text-center">
<h1 style="color:white;">Responsive design is integral part of today's web world</h1>
<p>Your web page should look good, and be easy to use, regardless of the device. Responsive Web Design makes your web page look good on all devices (desktops, tablets, and phones).
Responsive Web Design is about using CSS and HTML to resize, hide, shrink, enlarge, or move the content to make it look good on any screen.</p>
<img src="images/extra-image-1.png" class="img-responsive" style="margin: 0 auto;">
</div>
</div>
<div class="row skills" id="skills">
<div class="col-md-12 text-center">
<h2 style="font-size:36px; margin: 3px 0px 0px 0px;">MY SKILLS</h2>
<p style="font-size:18px; color:#858890;">I am really good at the following skills</p>
</div>
<div class="col-md-12 text-center">
<div class="portfolioFilter" style=" margin: 1px 0;">
<!-- <a href="#" data-filter="*">All Categories</a> -->
<a href="#" data-filter=".design" class="current">design</a>
<a href="#" data-filter=".code" >code</a>
<a href="#" data-filter=".other">other</a>
</div>
<div class="grid" >
<div class="grid-item code" style="height:250px; background: #fc6f5c;" ><div class="inner" >HTML5/ CSS3 100%</div></div>
<div class="grid-item code" style="height:237px; " ><div class="inner"
>PHP 95%</div></div>
<div class="grid-item design" style="height: 225px;"><div class="inner" >Adobe DW 90% </div></div>
<div class="grid-item design" style="height: 200px;"><div class="inner" >Bootstrap 80%</div></div>
<div class="grid-item design" style="height: 250px; background: #fc6f5c;"><div class="inner" >UI Design 100%</div></div>
<div class="grid-item design" style="height: 163px;"><div class="inner" >Photoshop 65%</div></div>
<div class="grid-item design" style="height: 175px;"><div class="inner" >Typography 70%</div></div>
<div class="grid-item code" style="height:200px;"><div class="inner" >SQL 80%</div></div>
<div class="grid-item code" style="height: 225px;"><div class="inner" >C++ 90%</div></div>
<div class="grid-item code" style="height: 200px;"><div class="inner" >JS/JQuery 80%</div></div>
<div class="grid-item code" style="height: 175px;"><div class="inner" >WordPress 70%</div></div>
<div class="grid-item code" style="height:163px;"><div class="inner" >Angular 65%</div></div>
<div class="grid-item other" style="height: 235px;"><div class="inner" >Communicative 90%</div></div>
<div class="grid-item other" style="height: 175px;"><div class="inner" >Creative 70%</div></div>
<div class="grid-item other" style="height: 163px;"><div class="inner" >Disciplined 65%</div></div>
<div class="grid-item other" style="height:200px;"><div class="inner" >Leadership 80%</div></div>
</div>
<!-- ISO TOP END -->
</div>
</div>
<div class="row education" id="education">
<div class="col-md-12 text-center">
<h2 style="font-size:36px; margin: 3px 0px 0px 0px;">EDUCATION</h2>
<p style="font-size:18px; color:#858890;">Education is the key to unlock the golden door of freedom.</p>
</div>
<!-- Education row -->
<div class="col-md-12">
<div class="col-md-5 empty">
</div>
<div class="col-md-2 ">
<div class="circle">
</div>
<div class="line">
</div>
<div class="year">
2017-2021
</div>
</div>
<div class="col-md-5">
<div class="insider">
<h3>LLB</h3>
<h5>Pakistan Penal Code, Contract Act, Criminal Law from Bahauddin Zakaria Unversity</h5>
</div>
</div>
</div>
<!-- Education row -->
<div class="col-md-12">
<div class="col-md-5">
<div class="insider">
<h3>Master</h3>
<h5>Artifical Intellegence, Dataware housing, Programming, Web Design and Developemt, Numerical Analysis</h5>
</div>
</div>
<div class="col-md-2 ">
<div class="circle">
</div>
<div class="line">
</div>
<div class="year">
2010-2012
</div>
</div>
<div class="col-md-5 empty">
</div>
</div>
<!-- Education row -->
<div class="col-md-12">
<div class="col-md-5 empty">
</div>
<div class="col-md-2 ">
<div class="circle">
</div>
<div class="line">
</div>
<div class="year">
2008-2010
</div>
</div>
<div class="col-md-5">
<div class="insider">
<h3>Graduation</h3>
<h5>Programming, Turbo C, Calculus, Statictics, Software Engineering</h5>
</div>
</div>
</div>
<!-- Education row -->
<div class="col-md-12">
<div class="col-md-5">
<div class="insider">
<h3>Intermediate</h3>
<h5>English, Urdu, Statistics, Computer, Statistics, Calculus, Physics</h5>
</div>
</div>
<div class="col-md-2 ">
<div class="circle">
</div>
<div class="line">
</div>
<div class="year">
2006-2008
</div>
</div>
<div class="col-md-5 empty">
</div>
</div>
<!-- Education row -->
<div class="col-md-12">
<div class="col-md-5 empty">
</div>
<div class="col-md-2 ">
<div class="circle">
</div>
<div class="line">
</div>
<div class="year">
2004-2006
</div>
</div>
<div class="col-md-5">
<div class="insider">
<h3>Matric</h3>
<h5>English, Urdu, Chemistry, Biology, Mathematics, Islamiat, Pakistan Studies</h5>
</div>
</div>
</div>
</div>
<!-- Portfolio Gallery -->
<div class="row gallery" id="portfolio">
<div class="col-md-12 text-center">
<h2 style="font-size:36px; margin: 3px 0px 0px 0px;">PORTFOLIO</h2>
<p style="font-size:18px; color:#858890;">The best of my projects.</p>
</div>
<div class="effect col-md-3 col-sm-6 remove ">
<div class="thumbs ">
<a href="images/b2.jpg">
<img src="images/f2.jpg" class="img-responsive text-center"></a>
</div>
<h3>Black Facebook</h3>
</div>
<div class="effect col-md-3 col-sm-6 remove ">
<div class="thumbs">
<a href="images/b3.jpg"><img src="images/f3.jpg" class="img-responsive"></a>
</div>
<h3>14 August </h3>
</div><div class="effect col-md-3 col-sm-6 remove ">
<div class="thumbs">
<a href="images/b4.jpg"><img src="images/f4.jpg" class="img-responsive"></a>
</div>
<h3>Shah Farm</h3>
</div><div class="effect col-md-3 col-sm-6 remove ">
<div class="thumbs">
<a href="images/b5.jpg"><img src="images/f5.jpg" class="img-responsive"></a>
</div>
<h3>J.M Co.</h3>
</div>
</div>
<!-- Portfolio End -->
<!-- Google Map
<div class="row blank"><br><br></div>-->
<div class="row map googleMap" id="googleMap">
</div>
<!--Google Map End-->
<!-- Contact Form -->
<div class="row contact" style="padding: 20px;" id="contact">
<br>
<div class="col-md-4" >
<h2 style="font-size:36px; margin: 3px 0px 0px 0px;">CONTACT INFO</h2>
<h4>Feel free to contact me</h4>
<br>
<p style="font-size: 15px;">The Company Inc<br>
University Road,<br>
Karachi PAKISTAN</p>
<br>
<p style="font-size: 15px;">Telephone: +92 322 000 0 000<br>
Email: mail@zohaibsaleem.org<br>
Website: www.zohaibsaleem.com</p>
</div>
<div class="col-md-8 cc">
<h2 style="font-size:36px; margin: 3px 0px 0px 0px;">CONTACT FORM</h2>
<h4>Submit information</h4>
<div class="col-md-6" style="padding-left: 0px;">
<input type="text" placeholder="Name" style="padding-left: 5px; height: 40px; margin-bottom: 5px; " size="50%"></input>
<input placeholder="Email" type="text" style="padding-left: 5px; height: 40px; margin-bottom: 5px;" size="50%" >
<input placeholder="Phone" type="text" style="padding-left: 5px; height: 40px;" size="50%" ></input>
</div>
<div class="col-md-6" style="padding-left: 0px;">
<input type="text" placeholder="Message" style=" padding-left: 5px; height: 130px; width: 100%; " size="50%"></input>
</div>
<div class="col-md-12" style="margin-top: 5px; padding-left: 0px;">
<input id="send" type="sumibt" value="Send">
</div>
</div>
</div>
<!-- Contact Form End -->
<!-- Footer -->
<div class="row footer" id="footer">
<div style="text-align: center;">
<h2 style="font-family: 'Carter One', cursive;">Zohaib Saleem</h2>
<p>Zohaib Saleem Copyright © 2016 - Privacy policy</p>
</div>
</div>
<a href="#"><div id="back-top">
</div></a>
</div>
<script src="touchTouch/touchTouch.jquery.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.menu-link').bigSlide({
easyClose : 'true',
menuWidth : '20em',
});
});
$(window).load(function(){
execute();
});
$(window).resize(function(){
execute();
});
// Google map
var myCenter=new google.maps.LatLng(24.9175697,67.0970104);
function initialize()
{
var mapProp = {
center:myCenter,
zoom:5,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
var marker=new google.maps.Marker({
position:myCenter,
});
marker.setMap(map);
}
google.maps.event.addDomListener(window, 'load', initialize);
// Google map end
function execute(){
$(function(){
var $window = $(window); //Window object
var scrollTime = 1.2; //Scroll time
var scrollDistance = 270; //Distance. Use smaller value for shorter scroll and greater value for longer scroll
$window.on("mousewheel DOMMouseScroll", function(event){
event.preventDefault();
var delta = event.originalEvent.wheelDelta/120 || -event.originalEvent.detail/3;
var scrollTop = $window.scrollTop();
var finalScroll = scrollTop - parseInt(delta*scrollDistance);
TweenMax.to($window, scrollTime, {
scrollTo : { y: finalScroll, autoKill:true },
ease: Power1.easeOut, //For more easing functions see http://api.greensock.com/js/com/greensock/easing/package-detail.html
autoKill: true,
overwrite: 5
});
});
});
// Back to top
$("#back-top").hide();
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 800) {
$('#back-top').fadeIn();
} else {
$('#back-top').fadeOut();
}
});
// scroll body to 0px on click
$('#back-top').click(function () {
$('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
// End Back to top
$('a #butt').on('click',function (e) {
$('html, body').stop().animate({
scrollTop: $("#about").offset().top
},2000);
});
// Initialize the gallery
$('.thumbs a').touchTouch();
var $container = $('.grid');
$('.grid').isotope({
layoutMode: 'horizontal',
itemSelector: '.grid-item'
});
var ss = $('.portfolioFilter .current').attr('data-filter');
$container.isotope({filter: ss });
$('.portfolioFilter a').click(function(){
$('.portfolioFilter .current').removeClass('current');
$(this).addClass('current');
var selector = $(this).attr('data-filter');
$container.isotope({
layoutMode: 'horizontal',
resizable: true,
filter: selector,
hiddenStyle: {
opacity:0,
transform: 'rotateX(90deg)',
},
visibleStyle: {
opacity:1,
transform: 'rotateX(10deg)',
},
animationOptions: {
duration: 2750,
easing: 'linear',
queue: true
}
});
return false;
});
}
</script>
</body>
</html>