Team:Cornell/templates/header
From 2012.igem.org
(Difference between revisions)
Mastershot (Talk | contribs) |
|||
(111 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <html> | + | <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> |
- | <div class="row header off-canvas"> | + | <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> |
+ | <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | ||
+ | <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | ||
+ | <!--[if gt IE 8]><!--> | ||
+ | <html class="no-js" lang="en"> | ||
+ | <!--<![endif]--> | ||
+ | <head> | ||
+ | <meta charset="utf-8" /> | ||
+ | <meta name="viewport" content="width=device-width" /> | ||
+ | <link rel="stylesheet" href="https://2012.igem.org/Team:Cornell/stylesheets/foundation?action=raw&ctype=text/css"> | ||
+ | <link rel="stylesheet" href="https://2012.igem.org/Team:Cornell/stylesheets/app?action=raw&ctype=text/css"> | ||
+ | <script src="https://2012.igem.org/Team:Cornell/javascripts/modernizr.foundation?action=raw&ctype=text/javascript"></script> | ||
+ | <!-- IE Fix for HTML5 Tags --> | ||
+ | <!--[if lt IE 9]> | ||
+ | <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
+ | <![endif]--> | ||
+ | <style> | ||
+ | #footer-box { | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | </style> | ||
+ | <script> | ||
+ | function fixTour() { | ||
+ | var links=new Array(); | ||
+ | links[0]="https://2012.igem.org/Team:Cornell/templates/tour"; | ||
+ | links[1]="https://2012.igem.org/Team:Cornell/Sandbox/project/wetlab"; | ||
+ | links[2]="somepage"; | ||
+ | var prev = document.getElementById("tourPrev"); | ||
+ | var next = document.getElementById("tourNext"); | ||
+ | var start = document.getElementById("tourStart"); | ||
+ | start.href=links[0]; | ||
+ | var needprev = false; | ||
+ | var neednext = false; | ||
+ | for(var i=0;i<links.length;i++) { | ||
+ | if(window.location.href.toString()==links[i]) { | ||
+ | if(i==0) { | ||
+ | neednext = true; | ||
+ | next.href=links[i+1]; | ||
+ | |||
+ | } | ||
+ | else if(i==links.length-1) { | ||
+ | needprev = true; | ||
+ | prev.href=links[i-1]; | ||
+ | } | ||
+ | else { | ||
+ | neednext = true; | ||
+ | needprev = true; | ||
+ | prev.href=links[i-1]; | ||
+ | next.href=links[i+1]; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | if(needprev) prev.parentNode.style.display="block"; | ||
+ | if(neednext) next.parentNode.style.display="block"; | ||
+ | else if(!needprev) start.parentNode.style.display="block"; | ||
+ | } | ||
+ | </script> | ||
+ | </head> | ||
+ | <body onload="fixTour()"> | ||
+ | <!-- TOUR TEMPLATE | ||
+ | <div class="tour" style="left:0;display:none"> | ||
+ | <a id="tourPrev" class="button radius"> Previous<br/>Tour Page </a> | ||
+ | </div> | ||
+ | <div class="tour" style="right:0;display:none"> | ||
+ | <a id="tourNext" class="button radius"> Next<br/>Tour Page </a> | ||
+ | </div> | ||
+ | <div class="tour" style="right:0;display:none"> | ||
+ | <a id="tourStart" class="button radius"> Start<br/>Tour! </a> | ||
+ | </div> | ||
+ | HEADER TEMPLATE --> | ||
+ | <div class="row header off-canvas"> | ||
<div class="twelve columns centered header no-pad" id="header-wrapper"> | <div class="twelve columns centered header no-pad" id="header-wrapper"> | ||
- | <a href="https://2012.igem.org/Team:Cornell | + | <a href="https://2012.igem.org/Team:Cornell"> |
<div id="logo-wrapper"> | <div id="logo-wrapper"> | ||
- | <img src=" | + | <img src="https://static.igem.org/mediawiki/2012/3/3b/CornelliGEMLogo.jpg"> |
+ | </div> </a> | ||
+ | <a href="https://2012.igem.org/Main_Page"> | ||
+ | <div id="igem-attr"> | ||
+ | <img src="https://static.igem.org/mediawiki/igem.org/6/67/IGEMsmall.png"> | ||
</div> </a> | </div> </a> | ||
<ul class="nav-bar"> | <ul class="nav-bar"> | ||
- | <li class=" | + | <li class="pg-home"> |
- | <a href="https://2012.igem.org/Team:Cornell | + | <a href="https://2012.igem.org/Team:Cornell">Home</a> |
</li> | </li> | ||
- | <li class="has-flyout"> | + | <li class="has-flyout pg-project pg-project_background pg-project_wetlab pg-project_drylab pg-project_hprac pg-project_gallery pg-project_safety"> |
- | <a href="https://2012.igem.org/Team:Cornell | + | <a href="https://2012.igem.org/Team:Cornell/project">Project</a> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/project" class="flyout-toggle"><span> </span></a> |
<ul class="flyout"> | <ul class="flyout"> | ||
- | <li> | + | <li class="pg-project"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/project">Overview</a> |
</li> | </li> | ||
- | <li> | + | <li class="pg-project_background"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/project/background">Background</a> |
</li> | </li> | ||
- | <li> | + | <li class="pg-project_wetlab"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/project/wetlab">Wet Lab</a> |
+ | </li> | ||
+ | <li class="pg-project_drylab"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/project/drylab">Dry Lab</a> | ||
+ | </li> | ||
+ | <li class="pg-project_hprac"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/project/hprac">Human Practices</a> | ||
+ | </li> | ||
+ | <li class="pg-project_gallery"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/project/gallery">Gallery</a> | ||
+ | </li> | ||
+ | <li class="pg-project_safety"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/project/hprac/safety">Safety</a> | ||
</li> | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li class=""> | + | <li class="has-flyout pg-notebook pg-notebook_wetlab pg-notebook_drylab pg-notebook_strainlist"> |
- | <a href="https://2012.igem.org/Team:Cornell/ | + | <a href="https://2012.igem.org/Team:Cornell/notebook">Notebook</a> |
+ | <a href="https://2012.igem.org/Team:Cornell/notebook" class="flyout-toggle"><span> </span></a> | ||
+ | <ul class="flyout"> | ||
+ | <li class="pg-notebook"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/notebook">Overview</a> | ||
+ | </li> | ||
+ | <li class="pg-notebook_wetlab"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/notebook/wetlab">Wet Lab</a> | ||
+ | </li> | ||
+ | <li class="pg-notebook_drylab"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/notebook/drylab/june">Dry Lab</a> | ||
+ | </li> | ||
+ | <li class="pg-notebook_strainlist"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/notebook/strain_list" target="_blank">Strain List</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
- | <li class=" | + | <li class="pg-protocols"> |
- | <a href="https://2012.igem.org/Team:Cornell/ | + | <a href="https://2012.igem.org/Team:Cornell/protocols">Protocols</a> |
- | <a href=" | + | </li> |
+ | <li class="has-flyout pg-team pg-team_bios pg-team_sponsors"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/team">Team</a> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/team" class="flyout-toggle"><span> </span></a> | ||
<ul class="flyout right"> | <ul class="flyout right"> | ||
- | <li> | + | <li class="pg-team"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/team">Overview</a> |
</li> | </li> | ||
- | <li> | + | <li class="pg-team_bios"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/team/bios">Bios</a> |
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://igem.org/Team.cgi?year=2012&team_name=Cornell" target="_blank">Profile</a> |
+ | </li> | ||
+ | <li class="pg-team_sponsors"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/team/sponsors">Sponsors</a> | ||
</li> | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li class="has-flyout"> | + | <li class="has-flyout pg-outreach pg-outreach_presentations pg-outreach_panels pg-outreach_awareness"> |
- | <a href="https://2012.igem.org/Team:Cornell/ | + | <a href="https://2012.igem.org/Team:Cornell/outreach">Outreach</a> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/outreach" class="flyout-toggle"><span> </span></a> |
<ul class="flyout right"> | <ul class="flyout right"> | ||
- | <li> | + | <li class="pg-outreach"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/outreach">Overview</a> |
</li> | </li> | ||
- | <li> | + | <li class="pg-outreach_presentations"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/outreach/presentations">Research Presentations</a> |
</li> | </li> | ||
- | <li> | + | <li class="pg-outreach_panels"> |
- | <a href=" | + | <a href="https://2012.igem.org/Team:Cornell/outreach/panels">Panel Discussions</a> |
+ | </li> | ||
+ | <li class="pg-outreach_awareness"> | ||
+ | <a href="https://2012.igem.org/Team:Cornell/outreach/awareness">Public Awareness</a> | ||
</li> | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li class=""> | + | <li class="has-flyout"> |
- | <a href="https://2012.igem.org/Team:Cornell/ | + | <a style="visibility:none"></a> |
+ | <a href="https://2012.igem.org/Team:Cornell"> | ||
+ | <div class="badge-wrapper-main"> | ||
+ | <img style="margin-left:2px;margin-top:-1px;height:65px;" src="https://static.igem.org/mediawiki/2012/7/70/Cornell2012Badge.png"> | ||
+ | </div> </a> | ||
+ | <a href="https://2012.igem.org/Team:Cornell"><span> </span></a> | ||
+ | <ul class="flyout right" style="display:none;background:none;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none"> | ||
+ | <li class="pg-badge"> | ||
+ | <div class="badge-wrapper"> | ||
+ | <a href="https://2013.igem.org/Team:Cornell"> | ||
+ | <img style="margin-left:2px;margin-top:-1px;height:65px;" src="https://static.igem.org/mediawiki/2012/7/70/Cornell2012Badge.png"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <a href="https://2013.igem.org/Team:Cornell" style="margin-top:-50px">2012: SAFE BET</a> | ||
+ | </li> | ||
+ | <li class="pg-badge_home"> | ||
+ | <div class="badge-wrapper"> | ||
+ | <a href="http://igem.engineering.cornell.edu"> | ||
+ | <img style="margin-left: 2px;margin-top: 2px;height: 56px;" src="http://igem.engineering.cornell.edu/img/CornellBadgeLogo2.png"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <a href="http://igem.engineering.cornell.edu">Team Website</a> | ||
+ | </li> | ||
+ | <li class="pg-badge_2013"> | ||
+ | <div class="badge-wrapper"> | ||
+ | <a href="https://2013.igem.org/Team:Cornell"> | ||
+ | <img style="margin-left:7px;margin-top:2px;height:56px;" src="https://static.igem.org/mediawiki/2013/1/1c/CornellOrganofoamBadge.png"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <a href="https://2013.igem.org/Team:Cornell">2013: Organofoam</a> | ||
+ | </li> | ||
+ | <li class="pg-badge_2011"> | ||
+ | <div class="badge-wrapper"> | ||
+ | <a href="https://2011.igem.org/Team:Cornell"> | ||
+ | <img style="margin-left:4px;margin-top:8px;height:44px;" src="https://static.igem.org/mediawiki/2013/4/46/CornellBiofactory.png"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <a href="https://2011.igem.org/Team:Cornell">2011: Biofactory</a> | ||
+ | </li> | ||
+ | <li class="pg-badge_2010"> | ||
+ | <div class="badge-wrapper"> | ||
+ | <a href="https://2010.igem.org/Team:Cornell"> | ||
+ | <img style="margin-left:-3px;margin-top:6px;height:60px;" src="https://static.igem.org/mediawiki/2013/3/3c/CornellOmgOmvs.png"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <a href="https://2010.igem.org/Team:Cornell">2010: OMG OMVs</a> | ||
+ | </li> | ||
+ | <li class="pg-badge_2009"> | ||
+ | <div class="badge-wrapper"> | ||
+ | <a href="https://2009.igem.org/Team:Cornell"> | ||
+ | <img style="margin-left:0px;height:60px;" src="https://static.igem.org/mediawiki/2013/a/a0/CornellCadmium.png"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <a href="https://2009.igem.org/Team:Cornell" style="font-size:20px !important">2009: Cadmium Sensor</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
</ul> | </ul> |
Latest revision as of 06:06, 29 August 2013