Template:Team:USTC Software/Header
From 2010.igem.org
(Difference between revisions)
Line 286: | Line 286: | ||
<!-- For IE 6 --> | <!-- For IE 6 --> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | + | window.onload = function() { | |
- | + | var lis = document.getElementsByTagName('li'); | |
- | + | for(i = 0; i < lis.length; i++) { | |
- | + | var li = lis[i]; | |
- | + | if (li.id == 'mainTeam' || li.id == 'mainProject' || li.id == 'mainParts' || li.id == 'mainModeling' || li.id == 'mainNotebook') { | |
- | + | li.onmouseover = function() { this.getElementsByTagName('ul').item(0).style.display = 'block'; } | |
- | + | li.onmouseout = function() { this.getElementsByTagName('ul').item(0).style.display = 'none'; } | |
- | + | } | |
- | + | } | |
- | + | } | |
</script> | </script> | ||
</body></html> | </body></html> |
Revision as of 04:07, 13 October 2010
Welcome to
iGEM USTC Software