Template:Template HD 3

From 2009.igem.org

(Difference between revisions)
Line 284: Line 284:
</div>
</div>
</div>
</div>
 +
<!-- For IE 6 -->
<script type="text/javascript">
<script type="text/javascript">
window.onload = function() {
window.onload = function() {
Line 289: Line 290:
       for(i = 0; i < lis.length; i++) {
       for(i = 0; i < lis.length; i++) {
             var li = lis[i];
             var li = lis[i];
-
             if (li.id == 'mainTeam') {
+
             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.onmouseover = function() { this.getElementsByTagName('ul').item(0).style.display = 'block'; }
                   li.onmouseout = function() { this.getElementsByTagName('ul').item(0).style.display = 'none'; }
                   li.onmouseout = function() { this.getElementsByTagName('ul').item(0).style.display = 'none'; }

Revision as of 14:43, 20 October 2009