Difference between revisions of "Team:TUDelft/Header"

Line 11: Line 11:
 
             $("#mw-content-text").removeAttr('id');
 
             $("#mw-content-text").removeAttr('id');
 
         });
 
         });
 
 
 
 
     </script>
 
     </script>
 
    
 
    
Line 185: Line 182:
 
         <div class="navbar">
 
         <div class="navbar">
  
         
+
            <a href="https://2019.igem.org/Team:TUDelft">
 +
                <img id="logo" src="https://static.igem.org/mediawiki/2019/c/c2/T--TUDELFT--logonavbar-3.png" alt=""></a>
 
             <a class="test" href="https://2019.igem.org/Team:TUDelft"><b>Home</b></a>
 
             <a class="test" href="https://2019.igem.org/Team:TUDelft"><b>Home</b></a>
  
Line 375: Line 373:
 
         <br>
 
         <br>
 
          
 
          
<script>        // When the user scrolls down 20px from the top of the document, show the button
+
<script>         
 +
<!---// When the user scrolls down 20px from the top of the document, show the button--->
 
window.onscroll = function() {scrollFunction()};
 
window.onscroll = function() {scrollFunction()};
  
Line 386: Line 385:
 
}
 
}
  
// When the user clicks on the button, scroll to the top of the document
+
<!----// When the user clicks on the button, scroll to the top of the document-->
 
function topFunction() {
 
function topFunction() {
 
   document.body.scrollTop = 0; // For Safari
 
   document.body.scrollTop = 0; // For Safari

Revision as of 09:50, 21 June 2019