forked from FranciscoPinto/cern-summer-webfest
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nav.htm
88 lines (78 loc) · 3.88 KB
/
nav.htm
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
<!DOCTYPE html>
<html>
<head>
<title>Summer Webfest</title>
<meta charset="utf-8">
<meta name="description" content="Summer Webfest">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://code.jquery.com/ui/1.8.22/jquery-ui.min.js" type="text/javascript"></script>
<script src="js/jquery.bxSlider/jquery.easing.1.3.js"></script>
<script src="js/jquery.bxSlider/jquery.bxSlider.min.js"></script>
<script src="js/javascript.js"></script>
<script src="js/slider.js"></script>
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<style>
body {
background: url(img/testbg.jpg) no-repeat;
background-size: 100%;
margin: 0;
padding: 0;
}
.slide {
font-size: 100px;
}
.arrow {
}
#go-next, #go-prev {
transition: opacity 0.5s;
-moz-transition: opacity 0.5s; /* Firefox 4 */
-webkit-transition: opacity 0.5s; /* Safari and Chrome */
-o-transition: opacity 0.5s; /* Opera */
opacity: 0.3;
top: 0;
bottom: 0;
padding-top: 25%;
overflow: hidden;
display: block;
height: 100%;
position: fixed;
width: 5%;
text-align: center;
z-index: 2;
}
#go-next:hover, #go-prev:hover {
opacity: 0.7;
cursor: pointer;
}
#go-prev {
background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
background: linear-gradient(to right, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
left: 0;
}
#go-next {
background: -moz-linear-gradient(left, rgba(0,0,0,0.0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(0,0,0,0.0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(0,0,0,0.0) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(0,0,0,0.0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
background: linear-gradient(to right, rgba(0,0,0,0.0) 0%,rgba(0,0,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
right: 0;
}
</style>
</head>
<body>
<a id="go-prev"><img class="arrow" src="img/arrow_left.png"/></a>
<a id="go-next"><img class="arrow" src="img/arrow_right.png"/></a>
<ul id="slider">
<li class="slide"><h1>First slide</h1>
<li class="slide"><h1>Second slide</h1>
<li class="slide"><h1>Third slide</h1>
</ul>
</body>
</html>