(Created page with "{{BGU_ISRAEL}} <html> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header">...") |
|||
Line 1: | Line 1: | ||
{{BGU_ISRAEL}} | {{BGU_ISRAEL}} | ||
+ | |||
<html> | <html> | ||
Line 16: | Line 17: | ||
<div id="navbar" class="navbar-collapse collapse"> | <div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="mainmenu nav navbar-nav"> | <ul class="mainmenu nav navbar-nav"> | ||
− | <li class="dropdown" id="HomeB"><a class="dropdown-toggle" href="https://2016.igem.org/Team:BGU_ISRAEL">Home</a> | + | <li class="dropdown" id="HomeB" style="background-color: #FF6961;"><a class="dropdown-toggle" href="https://2016.igem.org/Team:BGU_ISRAEL">Home</a> |
− | <li class="dropdown" id="projectB | + | <li class="dropdown" id="projectB"><a class="dropdown-toggle" href="https://2016.igem.org/Team:BGU_ISRAEL/Project">Project</a> |
<ul class="dropdown-menu submenubgu"> | <ul class="dropdown-menu submenubgu"> | ||
<li><a href="https://2016.igem.org/Team:BGU_ISRAEL/Description">Description</a></li> | <li><a href="https://2016.igem.org/Team:BGU_ISRAEL/Description">Description</a></li> | ||
Line 71: | Line 72: | ||
<img src='https://static.igem.org/mediawiki/2016/5/52/Arrow_for_site.png'> | <img src='https://static.igem.org/mediawiki/2016/5/52/Arrow_for_site.png'> | ||
</a> | </a> | ||
− | + | <script type = "text/javascript"> | |
− | + | var amountScrolled = 50; | |
− | + | $(window).scroll(function () { | |
− | + | if ($(window).scrollTop() > amountScrolled) { | |
− | + | $('a.back-to-top').fadeIn('slow'); | |
− | + | } else { | |
− | + | $('a.back-to-top').fadeOut('slow'); | |
− | + | } | |
− | + | }); | |
− | + | $('a.back-to-top').click(function () { | |
− | + | $('html, body').animate({scrollTop: 0}, 700); | |
− | + | return false; | |
− | + | }); | |
− | + | </script> | |
<div class="container-fluid"> | <div class="container-fluid"> | ||
Line 120: | Line 121: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
</html> | </html> |
Revision as of 09:42, 15 October 2016