Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | <html> | |
- | + | ||
- | + | <!-- STYLESHEET --> | |
- | {{: | + | <!-- *********** --> |
- | {{ | + | |
- | {{:Team:DTU-Denmark/Templates/ | + | <link rel="stylesheet" href="https://2011.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css" type="text/css" /> |
- | + | <link rel="stylesheet" href="https://2011.igem.org/Team:DTU-Denmark/stylesheet-graybg?action=raw&ctype=text/css" type="text/css" /> | |
+ | |||
+ | <!-- JAVASCRIPTS --> | ||
+ | <!-- *********** --> | ||
+ | |||
+ | <!-- jQuery Tools (slider) --> | ||
+ | <script src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"></script> | ||
+ | |||
+ | <!-- jQuery scroll follow (scroll navigation) --> | ||
+ | <script type="text/javascript" src="https://2011.igem.org/Team:DTU-Denmark/jquery.scrollfollow.js?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | <!-- MathJax (LaTeX kode for the web) --> | ||
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); | ||
+ | </script> | ||
+ | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
+ | |||
+ | <!-- Sexy Drop Down (drop down navigation) --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*) | ||
+ | $("ul.topnav li span").click(function() { //When trigger is clicked... | ||
+ | //Following events are applied to the subnav itself (moving subnav up and down) | ||
+ | $(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click | ||
+ | $(this).parent().hover(function() { | ||
+ | }, function(){ | ||
+ | $(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up | ||
+ | }); | ||
+ | //Following events are applied to the trigger (Hover events for the trigger) | ||
+ | }).hover(function() { | ||
+ | $(this).addClass("subhover"); //On hover over, add class "subhover" | ||
+ | }, function(){ //On Hover Out | ||
+ | $(this).removeClass("subhover"); //On hover out, remove class "subhover" | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | $( document ).ready( function () | ||
+ | { | ||
+ | $( '#navigation' ).scrollFollow(); | ||
+ | } | ||
+ | ); | ||
+ | </script> | ||
+ | |||
+ | <!-- HTML CONTENT --> | ||
+ | <!-- ************ --> | ||
+ | |||
+ | <!-- Header image --> | ||
+ | <div id="header"> | ||
+ | <div class="centering"> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <!-- Navigation bar --> | ||
+ | </html> | ||
+ | {{:Team:DTU-Denmark/Templates/Navigationbar}} | ||
+ | <html> | ||
+ | |||
+ | <!-- Page heading --> | ||
+ | <div id="heading"> | ||
+ | <div class="centering"> | ||
+ | </html> | ||
+ | ={{{1}}}= | ||
+ | <html> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <!-- Prepare for content --> | ||
+ | <div id="innercontent"><div class="centering"> | ||
+ | |||
+ | </html> |
Revision as of 19:57, 6 September 2011
={{{1}}}=