Template:HeaderGroningen2012
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
- | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
- | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | |
- | + | <script type="text/javascript" src="js/prototype.js"></script> | |
- | + | <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> | |
- | + | <script type="text/javascript" src="js/lightbox.js"></script> | |
- | + | <script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script> | |
- | + | ||
- | + | <head> | |
- | + | <style> | |
- | + | div.cogbig{ | |
- | + | position:absolute; | |
- | + | padding: 0px; | |
+ | margin: 0px 0px; | ||
+ | opacity:0.4; | ||
+ | filter:alpha(opacity=40); | ||
+ | z-index:-1; | ||
+ | } | ||
+ | |||
+ | /*Windmill*/ | ||
+ | #img1{ | ||
+ | width:120px; | ||
+ | height:104px; | ||
+ | position:absolute; | ||
+ | z-index:10; | ||
+ | left:-19px; | ||
+ | top:-31px; | ||
+ | } | ||
+ | |||
+ | /*Menu*/ | ||
+ | #navigation { | ||
+ | margin: 0; | ||
+ | padding: 0 0em; | ||
+ | height: 20px; | ||
+ | list-style: none; | ||
+ | display:block; | ||
+ | font-size: 12px; | ||
+ | font-weight: 300; | ||
+ | color:#fff; | ||
+ | z-index:2; | ||
+ | } | ||
+ | #navigation > li { | ||
+ | float: left; | ||
+ | height: 100%; | ||
+ | margin-right: 18px; | ||
+ | margin-left: 18px; | ||
+ | left:100px; | ||
+ | padding: 0 0em; | ||
+ | } | ||
+ | #navigation > li > a { | ||
+ | float: left; | ||
+ | height: 100%; | ||
+ | color: #00; | ||
+ | text-decoration: none; | ||
+ | font-weight: 300; | ||
+ | } | ||
+ | #navigation > li > a:hover { | ||
+ | color: Black; | ||
+ | text-decoration: underline; | ||
+ | |||
+ | |||
+ | } | ||
+ | #navigation > li.sub { | ||
+ | position: relative; | ||
+ | |||
+ | } | ||
+ | #navigation > li.sub ul { | ||
+ | width: 130px; | ||
+ | margin: 0; | ||
+ | padding: 0.0em 0; | ||
+ | list-style: none; | ||
+ | |||
+ | position: absolute; | ||
+ | top: -800em; | ||
+ | |||
+ | text-align:center; | ||
+ | |||
+ | padding-left:13px; | ||
+ | background-color: transparent; | ||
+ | background-color: rgba(0,0,0,0.5); | ||
+ | } | ||
+ | #navigation > li.sub ul li { | ||
+ | width: 90%; | ||
+ | background-color: transparent; | ||
+ | background-color: rgba(0,0,0,0.9); | ||
+ | } | ||
+ | #navigation > li.sub ul li a { | ||
+ | height: 100%; | ||
+ | |||
+ | display: block; | ||
+ | padding: 0.0em; | ||
+ | |||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | #navigation > li.sub ul li a:hover { | ||
+ | color: rgb(255,103,0); | ||
+ | font-weight: 700; | ||
+ | } | ||
+ | #navigation > li.sub:hover ul { | ||
+ | top: 100px; | ||
+ | left:-35px; | ||
+ | } | ||
+ | |||
+ | #expand | ||
+ | .expand-down span | ||
+ | { | ||
+ | font-family: Arial,Helvetica,sans-serif; | ||
+ | line-height: normal; | ||
+ | margin-bottom: 0px; | ||
+ | margin-top: 0px; | ||
+ | z-index:1; | ||
+ | font-weight: 300; | ||
+ | } | ||
+ | .expand-down * { | ||
+ | margin: 0px; | ||
+ | padding: 0; | ||
+ | z-index:1; | ||
+ | } | ||
+ | .expand-down ul { | ||
+ | padding-top:100px; | ||
+ | z-index:1; | ||
+ | } | ||
+ | .expand-down ul li { | ||
+ | list-style-type:none; | ||
+ | z-index:1; | ||
+ | } | ||
+ | .expand-down ul li a { | ||
+ | text-decoration:none; | ||
+ | z-index:1; | ||
+ | |||
+ | } | ||
+ | .expand-down ul li a img { | ||
+ | width:80px; | ||
+ | height:82px; | ||
+ | border:none; | ||
+ | z-index:1; | ||
+ | |||
+ | } | ||
+ | .expand-down ul li a span { | ||
+ | //span bar under picture text | ||
+ | z-index:1; | ||
+ | |||
+ | text-align:center; | ||
+ | font-size:14px; | ||
+ | |||
+ | display: block; | ||
+ | padding: 0.0em; | ||
+ | color: #fff; | ||
+ | |||
+ | |||
+ | |||
+ | } | ||
+ | .expand-down ul li:hover a span { | ||
+ | display:block; | ||
+ | font-size:14px; | ||
+ | |||
+ | z-index:1; | ||
+ | color: rgb(255,103,0); | ||
+ | font-weight: 700; | ||
+ | background-color: black; | ||
+ | |||
+ | background-color: transparent; | ||
+ | background-color: rgba(0,0,0,0.5); | ||
+ | } | ||
+ | .expand-down ul li:hover a img { | ||
+ | width:80px; | ||
+ | height:82px; | ||
+ | z-index:1; | ||
+ | |||
+ | } | ||
+ | .expand-down ul li:hover + li a img { | ||
+ | width:80px; | ||
+ | height:82px; | ||
+ | z-index:1; | ||
+ | |||
+ | } | ||
+ | .expand-down ul li:hover + li + li a img { | ||
+ | width:80px; | ||
+ | height:82px; | ||
+ | z-index:1; | ||
+ | } | ||
+ | |||
+ | /*Body*/ | ||
+ | body | ||
+ | { | ||
+ | background-attachment:fixed; | ||
+ | background-image:url(https://static.igem.org/mediawiki/2012/6/66/Groningen2012_AD_20120802_Background.png); | ||
+ | text-align: justify; | ||
+ | border: none; | ||
+ | } | ||
+ | #content | ||
+ | { | ||
+ | position: relative; | ||
+ | top:-5px; | ||
+ | width: 1024px; | ||
+ | padding: 0px 0px 0px 0px; | ||
+ | background-color:transparent; | ||
+ | border: none; | ||
+ | } | ||
+ | #bodyContent | ||
+ | { | ||
+ | width: 1024px; | ||
+ | position: relative; | ||
+ | padding: 0px 0px 0px 0px; | ||
+ | background-color:transparent; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*Suppress iGEM defaults*/ | ||
+ | a[title="Main Page"]{display: none;} | ||
+ | .firstHeading{display: none;} | ||
+ | #menubar{display: none;} | ||
+ | #search-controls{display: none;} | ||
+ | #contentSub{display: none;} | ||
+ | #catlinks{display: none;} | ||
+ | #footer-box{display: none;} | ||
+ | </style> | ||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | |||
+ | |||
+ | <div style="position:absolute; left: 197px; top: 30px;opacity:0.4; | ||
+ | filter:alpha(opacity=40);"> | ||
+ | <img id="cog1" src="https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png" /> | ||
+ | </div> | ||
+ | |||
+ | <div style="position:absolute; left: 313px; top: 30px;opacity:0.4; | ||
+ | filter:alpha(opacity=40);"> | ||
+ | <img id="cog2" src="https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png" /> | ||
+ | </div> | ||
+ | |||
+ | <div style="position:absolute; left: 429px; top: 30px;opacity:0.4; | ||
+ | filter:alpha(opacity=40);"> | ||
+ | <img id="cog3" src="https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png" /> | ||
+ | </div> | ||
+ | |||
+ | <div style="position:absolute; left: 545px; top: 30px;opacity:0.4; | ||
+ | filter:alpha(opacity=40);"> | ||
+ | <img id="cog4" src="https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png" /> | ||
+ | </div> | ||
+ | |||
+ | <div style="position:absolute; left: 661px; top: 30px;opacity:0.4; | ||
+ | filter:alpha(opacity=40);"> | ||
+ | <img id="cog5" src="https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png" /> | ||
+ | </div> | ||
+ | |||
+ | <div style="position:absolute; left: 777px; top: 30px;opacity:0.4; | ||
+ | filter:alpha(opacity=40);"> | ||
+ | <img id="cog6" src="https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png" /> | ||
+ | </div> | ||
+ | |||
+ | <div class="expand-down"> | ||
+ | <ul id="navigation" > | ||
+ | <li class="sub" id="menuhome"> | ||
+ | |||
+ | <a href="https://2012.igem.org/Team:Groningen" title="Home" rel="nofollow"> | ||
+ | <img src="https://static.igem.org/mediawiki/2012/6/61/Groningen2012_ID_20120808_Menu_Home.png" alt="Home" title="Home" /> | ||
+ | <span>home</span> | ||
+ | </a> | ||
+ | |||
+ | <div class="cogbig"> | ||
+ | <img id="cogbighome" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | |||
+ | </li> | ||
+ | <li class="sub" id="menuteam"> | ||
+ | <div class="cogbig"> | ||
+ | <img id="cogbigteam" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | <a href="Team" title="Team" rel="nofollow" > | ||
+ | <img src="https://static.igem.org/mediawiki/2012/f/fc/Groningen2012_ID_20120808_Menu_Team.png" alt="team" title="Team" /> | ||
+ | <span>team</span> | ||
+ | <ul> | ||
+ | <li><a href="about us">about us</a></li> | ||
+ | <li><a href="official team profile">official team profile</a></li> | ||
+ | </ul> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="sub" id="menuproject"> | ||
+ | <div class="cogbig"> | ||
+ | <img id="cogbigproject" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | <a href="Project" title="Project" rel="nofollow" > | ||
+ | <img src="https://static.igem.org/mediawiki/2012/1/19/Groningen2012_ID_20120808_Menu_Project.png" alt="Project" title="Project" /> | ||
+ | <span>project</span> | ||
+ | <ul> | ||
+ | <li><a href="description">description</a></li> | ||
+ | <li><a href="wetwork">wetwork</a></li> | ||
+ | <li><a href="modeling">modeling</a></li> | ||
+ | <li><a href="notebook">notebook</a></li> | ||
+ | <li><a href="attributions">attributions</a></li> | ||
+ | </ul> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="sub" id="menuparts"> | ||
+ | <div class="cogbig"> | ||
+ | <img id="cogbigparts" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | <a href="Parts" title="Parts" rel="nofollow" > | ||
+ | <img src="https://static.igem.org/mediawiki/2012/0/06/Groningen2012_ID_20120808_Menu_Parts.png" alt="Parts" title="Parts" /> | ||
+ | <span>parts</span> | ||
+ | <ul> | ||
+ | <li><a href="our_biobricks">our biobricks</a></li> | ||
+ | <li><a href="parts_that_did_not_work">parts that did not work</a></li> | ||
+ | </ul> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="sub" id="menusafety"> | ||
+ | <div class="cogbig"> | ||
+ | <img id="cogbigsafety" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | <a href="Safety" title="Safety" rel="nofollow" > | ||
+ | <img src="https://static.igem.org/mediawiki/2012/d/d4/Groningen2012_ID_20120808_Menu_Safety.png" alt="Safety" title="Safety" /> | ||
+ | <span>safety</span> | ||
+ | <ul> | ||
+ | <li><a href="the_10_commandments_for_VMT">the 10 commandments for VMT</a></li> | ||
+ | </ul> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="sub" id="menupr"> | ||
+ | <div class="cogbig"> | ||
+ | <img id="cogbigpr" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | <a href="Team:Groningen/PublicRelations" title="Public Relation" rel="nofollow" target="_blank"> | ||
+ | <img src="https://static.igem.org/mediawiki/2012/6/6f/Groningen2012_ID_20120808_Menu_Public_Relations.png" alt="Public Relation" title="Public Relation" /> | ||
+ | <span>public<br>relations</span> | ||
+ | <ul> | ||
+ | <li><a href="international_cooperation">international cooperation</a></li> | ||
+ | <li><a href="summer_school">summer school</a></li> | ||
+ | <li><a href="stop_the_food_waste_initiative">stop the food waste initiative</a></li> | ||
+ | <li><a href="festivals">festivals</a></li> | ||
+ | <li><a href"symposia">symposia</a></li> | ||
+ | </ul> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="sub" id="menusponsors"> | ||
+ | <div class="cogbig"> | ||
+ | <img id="cogbigsponsors" src="https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png" width="80" height="80"> | ||
+ | </div> | ||
+ | <a href="Sponsors" title="Sponsors" rel="nofollow" > | ||
+ | <img src="https://static.igem.org/mediawiki/2012/d/d4/Groningen2012_ID_20120808_Menu_Sponsors.png" alt="Sponsors" title="Sponsors" /> | ||
+ | <span>sponsors</span> | ||
+ | <ul> | ||
+ | <li><a href="our_sponsors">our sponsors</a></li> | ||
+ | <li><a href="become_a_sponsor">become a sponsor</a></li> | ||
+ | <li><a href"indiegogo_crowfunding">indiegogo crowfunding</a></li> | ||
+ | <li><a href"sponsor_levels">sponsor level</a></li> | ||
+ | </ul> | ||
+ | </a> | ||
+ | |||
+ | <img id="img1" img src="https://static.igem.org/mediawiki/2012/e/e4/Groningen2012_AD_20120802_WindmillArms.png" width="120"height="104" /> | ||
+ | |||
+ | |||
+ | </script> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </body> | ||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $("ul#navigation").mouseenter(function(){ | ||
+ | cog = 1; | ||
+ | }); | ||
+ | $("li#navigation").mouseleave(function(){ | ||
+ | cog = 0; | ||
+ | angle = 0; | ||
+ | }); | ||
+ | $("li#menuhome").mouseenter(function(){ | ||
+ | target = "#cogbighome"; | ||
+ | }); | ||
+ | $("li#menuteam").mouseenter(function(){ | ||
+ | target = "#cogbigteam"; | ||
+ | }); | ||
+ | $("li#menuproject").mouseenter(function(){ | ||
+ | target = "#cogbigproject"; | ||
+ | }); | ||
+ | $("li#menuparts").mouseenter(function(){ | ||
+ | target = "#cogbigparts"; | ||
+ | }); | ||
+ | $("li#menusafety").mouseenter(function(){ | ||
+ | target = "#cogbigsafety"; | ||
+ | }); | ||
+ | $("li#menupr").mouseenter(function(){ | ||
+ | target = "#cogbigpr"; | ||
+ | }); | ||
+ | $("li#menusponsors").mouseenter(function(){ | ||
+ | target = "#cogbigsponsors"; | ||
+ | |||
+ | }); | ||
+ | }); | ||
+ | |||
+ | var cogangle = 0; | ||
+ | var cog = 0; | ||
+ | var angle = 0; | ||
+ | |||
+ | var target = ".cogbig"; | ||
+ | setInterval(function(){ | ||
+ | cogangle-=cog; | ||
+ | $(target).rotate(cogangle); | ||
+ | if (target=="#cogbigsponsors") | ||
+ | { | ||
+ | $("#img1").rotate(-cogangle); | ||
+ | $("#cogbighome").rotate(cogangle); | ||
+ | $("#cogbigteam").rotate(cogangle); | ||
+ | $("#cogbigproject").rotate(cogangle); | ||
+ | $("#cogbigsafety").rotate(cogangle); | ||
+ | $("#cogbigparts").rotate(cogangle); | ||
+ | $("#cogbigpr").rotate(cogangle); | ||
+ | $("#cog1").rotate(-cogangle); | ||
+ | $("#cog2").rotate(-cogangle); | ||
+ | $("#cog3").rotate(-cogangle); | ||
+ | $("#cog4").rotate(-cogangle); | ||
+ | $("#cog5").rotate(-cogangle); | ||
+ | $("#cog6").rotate(-cogangle); | ||
+ | document.getElementById('cog1').style.display = "block"; | ||
+ | document.getElementById('cog2').style.display = "block"; | ||
+ | document.getElementById('cog3').style.display = "block"; | ||
+ | document.getElementById('cog4').style.display = "block"; | ||
+ | document.getElementById('cog5').style.display = "block"; | ||
+ | document.getElementById('cog6').style.display = "block"; | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | document.getElementById('cog1').style.display = "none"; | ||
+ | document.getElementById('cog2').style.display = "none"; | ||
+ | document.getElementById('cog3').style.display = "none"; | ||
+ | document.getElementById('cog4').style.display = "none"; | ||
+ | document.getElementById('cog5').style.display = "none"; | ||
+ | document.getElementById('cog6').style.display = "none"; | ||
+ | |||
+ | } | ||
+ | },30); | ||
+ | |||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | </html> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <html> | ||
+ | <head> | ||
+ | <style> | ||
+ | #img2{ | ||
+ | position:absolute; | ||
+ | z-index:0; | ||
+ | left:-50px; | ||
+ | top:100px; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | font-family: Helvetica, Arial, sans-serif; | ||
+ | |||
+ | } | ||
+ | l1 { | ||
+ | font-size:21pt; | ||
+ | line-height:21pt; | ||
+ | color:white; | ||
+ | } | ||
+ | l2 { | ||
+ | font-size:14pt; | ||
+ | line-height:14pt; | ||
+ | color:white; | ||
+ | |||
+ | } | ||
+ | .ctb { | ||
+ | width: 520px; | ||
+ | text-align: center; | ||
+ | background: #000; | ||
+ | |||
+ | background-color: transparent; | ||
+ | background-color: rgba(0,0,0,0.3); | ||
+ | padding: 10px ; | ||
+ | margin: 30px auto; | ||
+ | |||
+ | color: #FFF; | ||
+ | |||
+ | } | ||
+ | .ctc { | ||
+ | width: 580px; | ||
+ | text-align: center; | ||
+ | background: #000; | ||
+ | |||
+ | padding-right:10px; | ||
+ | padding-left:10px; | ||
+ | margin: 50px auto; | ||
+ | background-color: transparent; | ||
+ | background-color: rgba(0,0,0,0.3); | ||
+ | |||
+ | color: #FFF; | ||
+ | |||
+ | } | ||
+ | </style> | ||
+ | |||
+ | <body> | ||
+ | <div class="ctc"> | ||
+ | <div class="ctb"> | ||
+ | <l1 >Become our sponsor!</l1><br> | ||
+ | <l2>support us <FONT COLOR=#ff6700>directly</FONT> or at <A HREF="http://www.indiegogo.com/FoodWarden" TARGET="_blank"><FONT COLOR=#ff6700>www.indiegogo.com/FoodWarden</FONT></A></l2> | ||
+ | </div> | ||
+ | </div> | ||
+ | <img id="img2" img src="https://static.igem.org/mediawiki/2012/4/41/Groningen_2012_logoFW.png" width="300px"/> | ||
+ | </body> | ||
+ | </head> | ||
+ | </html> | ||
<html> | <html> |
Revision as of 08:30, 22 August 2012