Edinburgh University
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) m |
Hristianita (Talk | contribs) m |
||
Line 41: | Line 41: | ||
var item = menu_items[i]; | var item = menu_items[i]; | ||
return function() { | return function() { | ||
- | var children = item. | + | var children = item.childNodes; |
for (var i=0; i< children.length; i++) { | for (var i=0; i< children.length; i++) { | ||
- | if (children[i].tagName == " | + | if (children[i].tagName == "UL") { |
- | alert("wow"); | + | var children2 = children[i].childNodes; |
- | + | for (var j=0; j< children2.length; j++) { | |
+ | if (children2[i].tagName == "LI") { | ||
+ | alert("wow"); | ||
+ | children[i].display = "block"; | ||
+ | } | ||
+ | } | ||
} | } | ||
} | } | ||
+ | |||
} | } | ||
})(); | })(); |
Revision as of 21:23, 26 June 2013
Home | Team | Official Team Profile | Project | Parts Submitted to the Registry | Modeling | Notebook | Safety | Attributions |
---|
More information and stylish changes coming soon ;)
Check out our Facebook page: https://www.facebook.com/Edigem2013.
You can also follow us on twitter at https://twitter.com/EdiGEM2013.