Difference between revisions of "Template:Exeter"
Line 2: | Line 2: | ||
<html> | <html> | ||
+ | |||
+ | <meta charset="utf-8"> | ||
+ | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | <meta name="description" content=""> | ||
+ | <meta name="author" content=""> | ||
+ | |||
+ | <!-- Bootstrap Core CSS --> | ||
+ | <link href="https://2015.igem.org/Team:Exeter/bootstrap-min.css?action=raw&ctype=text/css" rel="stylesheet"> | ||
+ | |||
+ | <!-- Custom CSS --> | ||
+ | <link href="https://2015.igem.org/Team:Exeter/sb-admin-2.css?action=raw&ctype=text/css" rel="stylesheet"> | ||
+ | |||
+ | <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||
+ | <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
+ | <!--[if lt IE 9]> | ||
+ | <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
+ | <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> | ||
+ | <![endif]--> | ||
+ | |||
+ | <!-- jQuery Scripts --> | ||
+ | <script src="https://2015.igem.org/Team:Exeter/jquery-1-11-0-min.js?action=raw&ctype=text/javascript"></script> | ||
+ | <script src="https://2015.igem.org/Team:Exeter/jquery-migrate-1-2-1-min?action=raw&ctype=text/javascript"></script> | ||
<link href='http://fonts.googleapis.com/css?family=Ek+Mukta' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Ek+Mukta' rel='stylesheet' type='text/css'> | ||
+ | <link href="https://2015.igem.org/Team:Exeter/stylesheet.css?action=raw&ctype=text/css" rel='stylesheet' type='text/css'> | ||
− | + | <script> | |
− | + | ||
− | + | var main = function() { | |
− | + | ||
− | + | var mouseX = 0, limitX = 1000; | |
− | + | $(window).mousemove(function(e){ | |
− | + | var offset = $('.toehold').offset(); | |
− | + | mouseX = Math.min(e.pageX - offset.left, limitX); | |
− | + | if (mouseX < 0) mouseX = 0; | |
− | + | if (e.pageY >270) mouseX = 0; | |
− | + | }); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | // cache the selector | |
− | + | var follower = $(".ribonostics"); | |
− | + | var xp = 0; | |
− | + | var loop = setInterval(function(){ | |
− | + | // change 12 to alter damping higher is slower | |
− | + | xp += (mouseX - xp) / 12; | |
− | + | if (xp < 100) follower.css({left:100}); | |
+ | else follower.css({left:xp}); | ||
+ | |||
+ | }, 30); | ||
− | + | }; | |
+ | $(document).ready(main); | ||
− | <!-- | + | </script> |
− | < | + | <!-- Page Content --> |
− | < | + | <div id="wrapper"> |
+ | <div class="row"> | ||
+ | <div class="col-md-12"> | ||
+ | <a style="float:right;" href="https://2015.igem.org/Main_Page" target="_blank"><img style="margin-bottom:45px;" src="https://static.igem.org/mediawiki/2015/f/f0/IGEM_logo.png" height="55px"></a> | ||
+ | <img class="toehold" src="https://static.igem.org/mediawiki/2015/b/b2/Exeter_switch.png"> | ||
+ | <a href="https://2015.igem.org/Team:Exeter"><img class="ribonostics" src="https://static.igem.org/mediawiki/2015/d/d4/IGEM_ribosome_v1.1.png"></a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="row"> | ||
+ | <!-- Navigation --> | ||
+ | <nav class="navbar navbar-default" role="navigation"> | ||
+ | <!-- Collect the nav links, forms, and other content for toggling --> | ||
+ | <div align="center" class="collapse navbar-collapse navbar-ex1-collapse"> | ||
+ | <ul> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/Description">PROJECT</a> | ||
+ | <ul><li class="first-button"><a href="https://2015.igem.org/Team:Exeter/Description">Overview</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Experiments">Experiments</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Results">Results</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Design">Design</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Modeling">Modelling</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/Team">PARTICIPANTS</a> | ||
+ | <ul><li class="first-button"><a href="https://2015.igem.org/Team:Exeter/Team">Team</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Collaborations">Collaborations</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Attributions">Attributions</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Sponsors">Sponsors</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/diary">DIARY</a> | ||
+ | <ul><li class="first-button"><a href="https://2015.igem.org/Team:Exeter/diary#june">June</a></li> | ||
+ | <li class="second-button"><a href="https://2015.igem.org/Team:Exeter/diary#july">July</a></li> | ||
+ | <li class="third-button"><a href="https://2015.igem.org/Team:Exeter/diary#august">August</a></li> | ||
+ | <li class="fourth-button"><a href="https://2015.igem.org/Team:Exeter/diary#september">September</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/Parts">PARTS</a> | ||
+ | <ul><li class="first-button"><a href="https://2015.igem.org/Team:Exeter/Parts">Team Parts</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Basic_Part">Basic Parts</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Composite_Part">Composite Parts</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Part_Collection">Part Collection</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="button" style="width:220px;"><a href="https://2015.igem.org/Team:Exeter/Practices">BEYOND THE BENCH</a> | ||
+ | <ul><li class="beyond-button"><a href="https://2015.igem.org/Team:Exeter/Notebook">Introduction</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Entrepreneurship">Approach</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Exeter/Measurement">Lessons</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/Interlab">INTERLAB</a></li> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/Safety">SAFETY</a></li> | ||
+ | <li class="button"><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements">MEDALS</a> | ||
+ | <ul><li class="first-button"><a href="">Gold </a></li> | ||
+ | <li><a href="">Silver</a></li> | ||
+ | <li><a href="">Bronze</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | <!-- /.navbar-collapse --> | ||
+ | </nav> | ||
+ | </div> | ||
− | < | + | <div class="container-fluid"> |
− | < | + | <div class="row"> |
− | + | <footer class="col-md-12"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | / | + | <link rel="icon" type="image/png" href="https://static.igem.org/mediawiki/2015/5/59/Myiconexe.png"> |
− | + | <link href='http://fonts.googleapis.com/css?family=Ek+Mukta' rel='stylesheet' type='text/css'> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <div> | |
− | + | <img class="toeholdfooter" src="https://static.igem.org/mediawiki/2015/b/b2/Exeter_switch.png"> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | . | + | |
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | <div style="margin-top:10px;"> | |
− | + | <ul style="width:100%; float:right; vertical-align:middle;"> | |
− | + | <li style="float: right; margin-right:42px;" ><a href="https://twitter.com/exeterigem2015" target="_blank"><img src="https://static.igem.org/mediawiki/2015/7/76/Exe_twitter_logo.png" height="60px"/></a></li> | |
− | . | + | <li style="float: right;" ><a href="https://www.facebook.com/exeterigem2015?fref=ts" target="_blank"><img src="https://static.igem.org/mediawiki/2015/1/17/Exe_fb_logo.png" height="60px"/> </a></li> |
− | . | + | <li style="float:left; margin-top:13px; margin-left:10px;" ><img src="https://static.igem.org/mediawiki/2015/c/cb/Exeter_uni_logo.png" height="60px"/></li> |
− | . | + | </ul> |
+ | </div> | ||
− | + | <div style="float:center; margin-left:10px;"> | |
− | . | + | <ul> |
+ | <li class="sponsors"><img src="https://static.igem.org/mediawiki/2015/7/79/BBK_Team_2015_Bioline_Logo.png" height="60px"/></li> | ||
+ | <li class="sponsors"><img src="https://static.igem.org/mediawiki/2015/4/4d/BMG_Labtech_logo.png" height="60px"/></li> | ||
+ | <li class="sponsors"><img src="https://static.igem.org/mediawiki/2015/e/e0/IDT-Logo-2014-sm.png" height="60px"/></li> | ||
+ | <li class="sponsors"><img src="https://static.igem.org/mediawiki/2015/b/b8/Exeter_LogoEppendorf.png" height="60px"/></li> | ||
+ | <li class="sponsors"><img src="https://static.igem.org/mediawiki/2015/a/ac/NEB_logo.jpeg" height="60px"/></li> | ||
+ | <li class="sponsors"><img src="https://static.igem.org/mediawiki/2015/2/2a/Sheild_skin_logo.png" height="60px"/></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </footer> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <!-- /#wrapper --> | ||
− | </ | + | <!-- jQuery --> |
+ | <script src="https://2015.igem.org/Team:Exeter/half-slider-jquery.js?action=raw&ctype=text/javascript"></script> | ||
+ | <!-- Bootstrap Core JavaScript --> | ||
+ | <script src="https://2015.igem.org/Team:Exeter/half-slider-bootstrap-min.js?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | <!-- Script to Activate the Carousel --> | ||
+ | <script> | ||
+ | $('.carousel').carousel({ | ||
+ | interval: 5000 //changes the speed | ||
+ | }) | ||
+ | </script> | ||
+ | |||
<script> | <script> | ||
Line 102: | Line 178: | ||
mouseX = Math.min(e.pageX - offset.left, limitX); | mouseX = Math.min(e.pageX - offset.left, limitX); | ||
if (mouseX < 0) mouseX = 0; | if (mouseX < 0) mouseX = 0; | ||
− | if (e.pageY > | + | if (e.pageY < 450) mouseX = 0; |
+ | if (e.pageY > 650) mouseX = 0; | ||
}); | }); | ||
Line 119: | Line 196: | ||
$(document).ready(main); | $(document).ready(main); | ||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | |||
+ | $(window).scroll(function () { | ||
+ | //if you hard code, then use console | ||
+ | //.log to determine when you want the | ||
+ | //nav bar to stick. | ||
+ | console.log($(window).scrollTop()) | ||
+ | if ($(window).scrollTop() > 600) { | ||
+ | $('.navbar').addClass('navbar-fixed-top'); | ||
+ | } | ||
+ | if ($(window).scrollTop() < 601) { | ||
+ | $('.navbar').removeClass('navbar-fixed-top'); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
Line 199: | Line 294: | ||
$(document).ready(main); | $(document).ready(main); | ||
</script> | </script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Revision as of 11:58, 10 August 2015