Template:Stylesheet

From 2012hs.igem.org

(Difference between revisions)
Line 3: Line 3:
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
     <title>iGEM-2012HS - LSL-Heidelberg</title>
     <title>iGEM-2012HS - LSL-Heidelberg</title>
-
 
 
-
<script type="text/javascript">
 
-
var timeout = 500;
 
-
var closetimer = 0;
 
-
var ddmenuitem = 0;
 
-
 
-
function mopen(id)
 
-
{
 
-
mcancelclosetime();
 
-
 
-
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 
-
 
-
ddmenuitem = document.getElementById(id);
 
-
ddmenuitem.style.visibility = 'visible';
 
-
 
-
}
 
-
 
-
function mclose()
 
-
{
 
-
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 
-
}
 
-
 
-
function mclosetime()
 
-
{
 
-
closetimer = window.setTimeout(mclose, timeout);
 
-
}
 
-
 
-
function mcancelclosetime()
 
-
{
 
-
if(closetimer)
 
-
{
 
-
window.clearTimeout(closetimer);
 
-
closetimer = null;
 
-
}
 
-
}
 
-
document.onclick = mclose;
 
-
</script>
 
<style type="text/css">
<style type="text/css">

Revision as of 23:52, 9 June 2012

iGEM-2012HS - LSL-Heidelberg