Edinburgh University

From 2013.igem.org

(Difference between revisions)
m
m
Line 42: Line 42:
                                                     return function() {
                                                     return function() {
                                                           var children = item.childNodes;
                                                           var children = item.childNodes;
-
                                                           for (var i=0; i< children.length; i++) {
+
                                                           for (var j=0; j< children.length; j++) {
-
                                                               if (children[i].tagName == "UL") {
+
                                                               if (children[j].tagName == "UL") {
-
                                                                   alert(children[i].class);
+
                                                                   alert("wow");
-
                                                                   children[i].display = "block";       
+
                                                                   children[j].display = "block";       
                                                               }
                                                               }
                                                           }
                                                           }
Line 55: Line 55:
                                                     return function() {
                                                     return function() {
                                                           var children = item.childNodes;
                                                           var children = item.childNodes;
-
                                                           for (var i=0; i< children.length; i++) {
+
                                                           for (var j=0; j< children.length; j++) {
-
                                                               if (children[i].tagName == "UL") {
+
                                                               if (children[j].tagName == "UL") {
                                                                   alert("wow");
                                                                   alert("wow");
-
                                                                   children[i].display = "none";       
+
                                                                   children[j].display = "none";       
                                                               }
                                                               }
                                                           }
                                                           }

Revision as of 21:33, 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.

Highland-cow.jpg