Template:Paris/Menu
From 2008.igem.org
(Difference between revisions)
Line 117: | Line 117: | ||
<script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.js"></script> | <script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.js"></script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function toggleElement(layer){ | ||
+ | var myLayer = document.getElementById(layer); | ||
+ | if(myLayer.style.display=="none"){ | ||
+ | myLayer.style.display="block"; | ||
+ | myLayer.backgroundPosition="top"; | ||
+ | } else { | ||
+ | myLayer.style.display="none"; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Revision as of 17:30, 25 October 2008