Team:UChicago
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
- | |||
- | |||
<html> | <html> | ||
- | |||
<!-- Thanks to DTU 2011 https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki --> | <!-- Thanks to DTU 2011 https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki --> | ||
<!-- ************************************************************************************** --> | <!-- ************************************************************************************** --> | ||
- | + | <!-- STYLESHEET --> | |
+ | <!-- *********** --> | ||
- | + | <link rel="stylesheet" href="https://2013.igem.org/Team:UChicago/stylesheet?action=raw&ctype=text/css" type="text/css" /> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <!-- JAVASCRIPTS --> | |
- | + | <!-- *********** --> | |
- | + | ||
- | + | ||
- | + | <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> | |
+ | <!--[if lt IE 9]> | ||
+ | <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> | ||
+ | <![endif]--> | ||
+ | <!-- jQuery Tools (slider) --> | ||
+ | <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | ||
+ | <script> | ||
+ | $(function() { | ||
+ | // initialize scrollable | ||
+ | $(".scrollable").scrollable().navigator(); | ||
+ | }); | ||
+ | </script> | ||
- | + | <!-- Navigation scroll follow --> | |
- | </ | + | <script type="text/javascript"> |
+ | $(window).scroll(function () { | ||
+ | var scrollPos = $(window).scrollTop(); | ||
+ | if (scrollPos > 110) { | ||
+ | $(".navigation").addClass("stickToTop"); | ||
+ | } else { | ||
+ | $(".navigation").removeClass("stickToTop"); | ||
+ | } | ||
+ | if (scrollPos > 180) { | ||
+ | $(".toc").addClass("stickBelowNavigation"); | ||
+ | } else { | ||
+ | $(".toc").removeClass("stickBelowNavigation"); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
- | < | + | <!-- Sexy Drop Down (drop down navigation) --> |
- | + | <script type="text/javascript"> | |
- | + | $(document).ready( | |
- | + | function(){ | |
+ | $("ul.subnav").parent().find("> a").append("<span> ▼</span>"); | ||
+ | $("ul.topnav li").hover( | ||
+ | function() { | ||
+ | // Hover over | ||
+ | $(this).parent().find("ul.subnav").hide(); | ||
+ | $(this).find("ul.subnav").show(); | ||
+ | // Hover out | ||
+ | $(this).hover( | ||
+ | function() { | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).find("ul.subnav").hide(); | ||
+ | } | ||
+ | ); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).find("ul.subnav").hide(); | ||
+ | } | ||
- | + | ); | |
+ | } | ||
+ | ); | ||
+ | </script> | ||
- | < | + | <!-- iGem wiki hacks --> |
- | + | <!-- Remove all empty <p> tags --> | |
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove(); | ||
+ | }); | ||
+ | </script> | ||
- | + | <!-- Remove "team" from the menubar --> | |
- | < | + | <script type="text/javascript"> |
- | + | $(document).ready(function() { | |
- | < | + | $("menubar > ul > li:last-child").remove(); |
+ | }); | ||
+ | </script> | ||
- | + | <!-- Empty heading? - Then remove it.. --> | |
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | if ("" == "</html>{{{1}}}<html>") { | ||
+ | $("#heading").remove(); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
- | |||
- | |||
- | + | <!-- HTML CONTENT --> | |
- | + | <!-- ************ --> | |
- | + | ||
- | + | ||
- | <div class=" | + | <!-- Header image --> |
- | < | + | <!--<div id="header"> |
- | <ul id=" | + | <div class="centering"> |
- | + | </div> | |
- | + | </div> --> | |
- | + | ||
+ | <!-- Navigation bar --> | ||
+ | <div class="centering"> | ||
+ | <div id="navigation"> | ||
+ | <div class="navigation"> | ||
+ | |||
+ | <ul class="topnav" id="topnav"> | ||
+ | <li class="home navitem1"> | ||
+ | <a href="/Team:UChicago">UChicago</a> | ||
+ | </li> | ||
+ | <li class="igem navitem1"> | ||
+ | <a href="https://2013.igem.org" title="iGEM 2013 Homepage">iGEM 2013</a> | ||
+ | </li> | ||
+ | <li class="team navitem1"> | ||
+ | <a href="/Team:UChicago/Team">Team</a> | ||
+ | </li> | ||
+ | <li class="project navitem1"> | ||
+ | <a href="/Team:UChicago/Project">Project</a> | ||
+ | </li> | ||
+ | <li class="notebook navitem1"> | ||
+ | <a href="/Team:UChicago/Notebook">Notebook</a> | ||
+ | </li> | ||
+ | <li class="outreach navitem1"> | ||
+ | <a href="/Team:UChicago/Outreach">Outreach</a> | ||
+ | </li> | ||
+ | <li class="sponsor_us navitem1"> | ||
+ | <a href="/Team:UChicago/Sponsor_Us">Sponsor Us!</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | |||
+ | </div> | ||
</div> | </div> | ||
- | |||
- | {{ | + | |
+ | <!-- Prepare for content --> | ||
+ | <div id="innercontent"> | ||
+ | |||
+ | <div class="whitebox article"> | ||
+ | |||
+ | <!-- Page heading --> | ||
+ | |||
+ | |||
+ | <h1> | ||
+ | </html> | ||
+ | {{{1}}} | ||
+ | <html> | ||
+ | </h1> | ||
+ | |||
+ | |||
+ | |||
+ | </html> |
Revision as of 22:43, 12 September 2013