|
|
Line 5: |
Line 5: |
| <link rel="stylesheet" type="text/css" | | <link rel="stylesheet" type="text/css" |
| href="https://2016.igem.org/Template:Team:TU_Darmstadt/Css?action=raw&ctype=text/css" /> | | href="https://2016.igem.org/Template:Team:TU_Darmstadt/Css?action=raw&ctype=text/css" /> |
− |
| |
− |
| |
− | <script type="text/javascript">
| |
− | $(document).ready(function(){
| |
− | $("#header").load("header.html");
| |
− | $("#footer").load("footer.html");
| |
− | $(window).scroll(function(event){
| |
− | var scrollY = $(window).scrollTop();
| |
− | var navbar = $(".navbar");
| |
− | var computer = $(".computer")
| |
− | var tablet = $(".tablet")
| |
− | var topButton = $('button.back_top');
| |
− | var highlights = $(".rechts");
| |
− |
| |
− | if(scrollY > $("#title").height()){
| |
− | navbar.css({"top":"17px", "position":"fixed"});
| |
− | }else{
| |
− | navbar.css({"top":"0", "position":"static"});
| |
− | }
| |
− |
| |
− | // if(scrollY > 1300){
| |
− | // highlights.css({"top": "10vh","position": "fixed","right":"0"});
| |
− | // }else{
| |
− | // highlights.css({"top": "0","position": "static"});
| |
− | //}
| |
− |
| |
− |
| |
− | /*$("#lab1b").click(function(){
| |
− | $("#lab1c").toggle();
| |
− | });*/
| |
− |
| |
− | });
| |
− | $('#groupparts').load('cgi/api/groupparts.cgi',{
| |
− | t:'iGEM016',g:'TU_Darmstadt'},function(){
| |
− | $('#groupparts').tablesorter();});
| |
− |
| |
− | });
| |
− |
| |
− |
| |
− | $(document).ready(function(){
| |
− |
| |
− | if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
| |
− | $(".tablet").show();
| |
− | $("#tabletbutton").click(function(){
| |
− | $("#tabletmenu").toggle();
| |
− | });
| |
− | }
| |
− | else{
| |
− | $(".computer").show();
| |
− | }
| |
− | });
| |
− |
| |
− | $(document).ready(function(){
| |
− |
| |
− | if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
| |
− | $("#logoleiste").css({"width":"70vw"});
| |
− | }
| |
− | else{
| |
− | $("#logoleiste").css({"width":"50vw"});
| |
− | }
| |
− | });
| |
− | </script>
| |
− |
| |
− |
| |
− | <!-- START Scrollbox -->
| |
− | <script type="text/javascript" src="https://2016.igem.org/Template:Team:TU_Darmstadt/Js?
| |
− | action=raw&ctype=text/javascript"></script>
| |
− | <!-- END Scrollbox -->
| |
| <style>@import 'https://fonts.googleapis.com/css?family=Love+Ya+Like+A+Sister';</style> | | <style>@import 'https://fonts.googleapis.com/css?family=Love+Ya+Like+A+Sister';</style> |
| </head> | | </head> |
| + | <script type="text/javascript" src="https://2016.igem.org/Template:Team:TU_Darmstadt/Js? |
| + | action=raw&ctype=text/javascript"></script> |
| </html> | | </html> |