Line 20: | Line 20: | ||
<script src="https://2018.igem.org/Template:HebrewU/boot?action=raw&ctype=text/javascript"></script> | <script src="https://2018.igem.org/Template:HebrewU/boot?action=raw&ctype=text/javascript"></script> | ||
<link rel="stylesheet" href="https://2018.igem.org/Template:HebrewU/strap?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2018.igem.org/Template:HebrewU/strap?action=raw&ctype=text/css"> | ||
− | + | ||
+ | |||
+ | |||
<style> | <style> | ||
/* Disable I-GEM defult properties for blank page */ | /* Disable I-GEM defult properties for blank page */ | ||
Line 37: | Line 39: | ||
-moz-box-sizing:content-box ; | -moz-box-sizing:content-box ; | ||
box-sizing:content-box ; | box-sizing:content-box ; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 47: | Line 44: | ||
@media (max-width: 1000px) { | @media (max-width: 1000px) { | ||
− | |||
− | |||
− | |||
.ulogo { display:none; } | .ulogo { display:none; } | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<a onClick="topFunction()" id="myBtn_up" title="Go to top"><img src="https://static.igem.org/mediawiki/2018/1/1e/T--hebrewu--arrow_up.png" width="40px" /></a> | <a onClick="topFunction()" id="myBtn_up" title="Go to top"><img src="https://static.igem.org/mediawiki/2018/1/1e/T--hebrewu--arrow_up.png" width="40px" /></a> | ||
Line 115: | Line 76: | ||
+ | <body> | ||
<body> | <body> | ||
<div class="w3-blue-gray"> | <div class="w3-blue-gray"> | ||
+ | |||
<ul id="ddmenu_hebrewu"> | <ul id="ddmenu_hebrewu"> | ||
<li style="float:left;margin-top:12px;padding-left:15px;"><br />Hebrew</li> | <li style="float:left;margin-top:12px;padding-left:15px;"><br />Hebrew</li> | ||
Line 149: | Line 112: | ||
<li><a href="https://2018.igem.org/Team:HebrewU/Safety">Safety</a></li> | <li><a href="https://2018.igem.org/Team:HebrewU/Safety">Safety</a></li> | ||
<li><a href="https://2018.igem.org/Team:HebrewU/Protocols">Protocols</a></li> | <li><a href="https://2018.igem.org/Team:HebrewU/Protocols">Protocols</a></li> | ||
+ | |||
</ul> | </ul> | ||
Line 219: | Line 183: | ||
<div class="huji_small_navbar_panel"> | <div class="huji_small_navbar_panel"> | ||
<a href="https://2018.igem.org/Team:HebrewU/Members"><button class="b_huji_small_subnav">Members</button></a> | <a href="https://2018.igem.org/Team:HebrewU/Members"><button class="b_huji_small_subnav">Members</button></a> | ||
− | <a href="https://2018.igem.org/Team:HebrewU/ | + | <a href="https://2018.igem.org/Team:HebrewU/Attributionsn"><button class="b_huji_small_subnav">Attributions</button></a> |
<a href="https://2018.igem.org/Team:HebrewU/Collaborations"><button class="b_huji_small_subnav">Collaborations</button></a> | <a href="https://2018.igem.org/Team:HebrewU/Collaborations"><button class="b_huji_small_subnav">Collaborations</button></a> | ||
<a href="https://2018.igem.org/Team:HebrewU/Photo_Gallery"><button class="b_huji_small_subnav">Photo Gallery</button></a> | <a href="https://2018.igem.org/Team:HebrewU/Photo_Gallery"><button class="b_huji_small_subnav">Photo Gallery</button></a> | ||
Line 255: | Line 219: | ||
} | } | ||
</script> | </script> | ||
+ | |||
+ | <a onClick="topFunction()" id="myBtn_up" title="Go to top"><img src="https://static.igem.org/mediawiki/2018/1/1e/T--hebrewu--arrow_up.png" width="40px" /></a> | ||
+ | |||
+ | |||
+ | <script> | ||
+ | // When the user scrolls down 20px from the top of the document, show the button | ||
+ | window.onscroll = function() {scrollFunction()}; | ||
+ | |||
+ | function scrollFunction() { | ||
+ | if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { | ||
+ | document.getElementById("myBtn_up").style.display = "block"; | ||
+ | } else { | ||
+ | document.getElementById("myBtn_up").style.display = "none"; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | // When the user clicks on the button, scroll to the top of the document | ||
+ | function topFunction() { | ||
+ | document.body.scrollTop = 0; | ||
+ | document.documentElement.scrollTop = 0; | ||
+ | } | ||
+ | </script> | ||
<style> | <style> | ||
Line 261: | Line 247: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.row { | .row { |
Revision as of 21:59, 15 October 2018