cern-summer-webfest/nav.htm

89 lines
3.9 KiB
HTML
Raw Permalink Normal View History

2012-08-04 18:58:10 +00:00
<!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>
2012-08-04 20:44:30 +00:00
<script src="js/jquery.bxSlider/jquery.easing.1.3.js"></script>
<script src="js/jquery.bxSlider/jquery.bxSlider.min.js"></script>
2012-08-04 18:58:10 +00:00
<script src="js/javascript.js"></script>
2012-08-04 20:44:30 +00:00
<script src="js/slider.js"></script>
2012-08-04 18:58:10 +00:00
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
2012-08-04 20:44:30 +00:00
<style>
body {
background: url(img/testbg.jpg) no-repeat;
background-size: 100%;
margin: 0;
padding: 0;
}
.slide {
font-size: 100px;
}
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
.arrow {
}
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
#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 */
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
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;
}
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
#go-next:hover, #go-prev:hover {
opacity: 0.7;
cursor: pointer;
}
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
#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 */
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
left: 0;
}
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
#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 */
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
right: 0;
}
</style>
2012-08-04 18:58:10 +00:00
</head>
<body>
2012-08-04 20:44:30 +00:00
<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>
2012-08-04 18:58:10 +00:00
2012-08-04 20:44:30 +00:00
<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>
2012-08-04 18:58:10 +00:00
</body>
</html>