-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbio.html
152 lines (144 loc) · 4.95 KB
/
bio.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>About Me</title>
<link rel="stylesheet" href="styles.css">
<!--scrolling pictures-->
<style type="text/css">
#scroller {
position: relative;
}
#scroller .innerScrollArea {
overflow: hidden;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
#scroller ul {
padding: 0;
margin: 0;
position: relative;
}
#scroller li {
padding:1.5pt;
margin: 0;
list-style-type: none;
position: absolute;
}
</style>
<!-- end scrolling pictures-->
</head>
<body>
<!--begin nav panel-->
<div id="wrap">
<ul class="navbar">
<li><a href="index.html">Home</a></li>
<li><a href="bio.html">About Me</a>
<ul>
<li><a href="bio.html">Bio</a></li>
<li><a href="pictures.html">Pictures</a></li>
</ul>
</li>
<li><a href="schedules.html">Class Schedules</a>
<ul>
<li><a href="#">2015</a></li>
<li><a href="#">2014</a></li>
<li><a href="#">2013</a></li>
<li><a href="#">2012</a></li>
</ul>
</li>
<li><a href="index.html">Useful Resources</a>
<ul>
<li><a href="https://validator.w3.org">HTML Validation</a></li>
<li><a href="http://www.w3schools.com/tags/default.asp">HTML Code Help</a></li>
<li><a href="https://jigsaw.w3.org/css-validator/#validate_by_upload">CSS Validation</a></li>
<li><a href="http://www.w3schools.com/css/">CSS Code Help</a></li>
<li><a href="https://www.dropbox.com/">DropBox</a></li>
<li><a href="https://github.com">GitHub</a></li>
</ul>
</li>
<li><a href="mailto:mitch.wilson94@gmail.com?Subject=Website">Contact Me</a>
<ul>
<li><a href="mailto:mitch.wilson94@gmail.com?Subject=Website">Email</a></li>
<li><a href="contact.html">Social Media</a></li>
</ul>
</li>
<li><a href="">Quick Links</a>
<ul>
<li><a href="https://www.google.com">Google</a></li>
<li><a href="http://www.cs.uga.edu">UGA Computer Science</a></li>
</ul>
</li>
</ul>
</div>
<!--end of navigation panel-->
<p class="caps">About Me
<br>
</p>
<!-- picture header-->
<div id="container1" class="container1" style="position:relative;">
<div id="photobanner" class="photobanner">
<div id="scroller" style="width: 100%; height: 500px; margin: 0 auto;">
<div class="innerScrollArea">
<ul>
<li><img src="family1.jpg" height=" 500px" alt=""></li> <!--family UGA-->
<li><img src="friends2.jpg" height=" 500px" alt=""></li> <!--AOSM golf-->
<li><img src="family2.jpg" height=" 500px" alt=""></li> <!--Turks-->
<li><img src="friends1.jpg" height=" 500px" alt=""></li> <!--semi-->
<li><img src="family3.jpg" height=" 500px" alt=""></li> <!--cotillion-->
<li><img src="duke.jpg" height=" 500px" alt=""></li> <!--Duke-->
<li><img src="family4.jpg" height=" 500px" alt=""></li> <!--shooting-->
<li><img src="friends3.jpg" height=" 500px" alt=""></li> <!--SCUBA-->
<li><img src="friends4.jpg" height=" 500px" alt=""></li> <!--football-->
<li><img src="me1.jpg" height=" 500px" alt=""></li> <!--SCUBA-->
</ul>
</div>
</div>
<!-- end of picture header-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
var scroller = $('#scroller div.innerScrollArea');
var scrollerContent = scroller.children('ul');
scrollerContent.children().clone().appendTo(scrollerContent);
var curX = 0;
scrollerContent.children().each(function(){
var $this = $(this);
$this.css('left', curX);
curX += $this.outerWidth(true);
});
var fullW = curX / 2;
var viewportW = scroller.width();
// Scrolling speed management
var controller = {curSpeed:0, fullSpeed:2};
var $controller = $(controller);
var tweenToNewSpeed = function(newSpeed, duration)
{
if (duration === undefined)
duration = 600;
$controller.stop(true).animate({curSpeed:newSpeed}, duration);
};
// Pause on hover
scroller.hover(function(){
tweenToNewSpeed(0);
}, function(){
tweenToNewSpeed(controller.fullSpeed);
});
// Scrolling management; start the automatical scrolling
var doScroll = function()
{
var curX = scroller.scrollLeft();
var newX = curX + controller.curSpeed;
if (newX > fullW*2 - viewportW)
newX -= fullW;
scroller.scrollLeft(newX);
};
setInterval(doScroll, 50);
tweenToNewSpeed(controller.fullSpeed);
});
</script>
</body>
</html>