Template:Imperial/09/MenuD
From 2009.igem.org
(Difference between revisions)
(New page: <html> <style type="text/css"> - →----------------------------------------------------------------------------: /* Menu headers ...) |
|||
Line 1: | Line 1: | ||
+ | <html><script language="JavaScript"> | ||
+ | var timeout = 250; | ||
+ | var closetimer = 0; | ||
+ | var ddmenuitem = 0; | ||
+ | |||
+ | // open hidden layer | ||
+ | function mopen(id) | ||
+ | { | ||
+ | // cancel close timer | ||
+ | mcancelclosetime(); | ||
+ | // close old layer | ||
+ | if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; | ||
+ | // get new layer and show it | ||
+ | ddmenuitem = document.getElementById(id); | ||
+ | ddmenuitem.style.visibility = 'visible'; | ||
+ | } | ||
+ | // close showed layer | ||
+ | function mclose() | ||
+ | { | ||
+ | if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; | ||
+ | } | ||
+ | // go close timer | ||
+ | function mclosetime() | ||
+ | { | ||
+ | closetimer = window.setTimeout(mclose, timeout); | ||
+ | } | ||
+ | // cancel close timer | ||
+ | function mcancelclosetime() | ||
+ | { | ||
+ | if(closetimer) | ||
+ | { | ||
+ | window.clearTimeout(closetimer); | ||
+ | closetimer = null; | ||
+ | } | ||
+ | } | ||
+ | // close layer when click-out | ||
+ | //document.onclick = mclose; | ||
+ | </script><table style="background-color:transparent;" link="#ffffff" cellpadding="0" cellspacing="1" border="0" bordercolor="#ffffff" align="center" width="100%"><tr><td colspan="6"><table style="background-color:transparent;" link="#ffffff" cellpadding="5" cellspacing="1" border="0" bordercolor="#ffffff" align="center" width="100%"><tr><td><img width="150px" src="http://i59.photobucket.com/albums/g305/Timpski/Imperial_Logo.png"></td></tr></table></td></tr><tr><td colspan="6"></td></tr> | ||
+ | <tr><td align="left" width="10%" valign="bottom"><ul id="sddm"><a href="https://2008.igem.org/Team:Imperial_College"> Home </a></ul> | ||
+ | </td><td align="left" width="20%" valign="bottom"><ul id="sddm"><a href="#" | ||
+ | onclick="mopen('m1')" | ||
+ | onmouseover="mopen('m1')" | ||
+ | onmouseout="mclosetime()">Biofabricator Subtilis</a> | ||
+ | <div id="m1" | ||
+ | onmouseover="mcancelclosetime()" | ||
+ | onmouseout="mclosetime()"> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Project">Project Specifications</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Chassis_1">Why B. subtilis?</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Chassis_2">B. subtilis: Benefits vs Challenges</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Summary">Project Summary</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Cellulose">Example Application: <i>Biocouture</i></a> | ||
+ | </div></ul> | ||
+ | </td><td align="left" width="18%" valign="bottom"><ul id="sddm"><a href="#" | ||
+ | onclick="mopen('m2')" | ||
+ | onmouseover="mopen('m2')" | ||
+ | onmouseout="mclosetime()">Dry Lab</a> | ||
+ | <div id="m2" | ||
+ | onmouseover="mcancelclosetime()" | ||
+ | onmouseout="mclosetime()"> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Dry_Lab">Dry Lab Hub</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Growth_Curve">Growth Curves</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Genetic_Circuit">Genetic Circuits</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Motility">Motility Analysis</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Appendices">Appendices - Code etc.</a> | ||
+ | </div></ul> | ||
+ | </td><td align="left" width="18%" valign="bottom"><ul id="sddm"><a href="#" | ||
+ | onclick="mopen('m3')" | ||
+ | onmouseover="mopen('m3')" | ||
+ | onmouseout="mclosetime()">Wet Lab</a> | ||
+ | <div id="m3" | ||
+ | onmouseover="mcancelclosetime()" | ||
+ | onmouseout="mclosetime()"> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Wet_Lab">Wet Lab Hub</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Cloning_Strategy">Cloning Strategy</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Protocols">Experiments & Protocols</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/BioBricks">BioBricks Submitted</a> | ||
+ | <a href="https://2008.igem.org/Team:Imperial_College/Major_Results">Experimental Results</a> | ||
+ | </div></ul> | ||
+ | </td><td align="left" width="17%" valign="bottom"><ul id="sddm"><a href="https://2008.igem.org/Team:Imperial_College/Notebook"> Notebook </a></ul> | ||
+ | </td><td align="left" width="17%" valign="bottom"><ul id="sddm"><a href="https://2008.igem.org/Team:Imperial_College/Team"> Our Team </a></ul></td></tr></table></html> | ||
+ | |||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> |
Revision as of 14:40, 10 September 2009