Template:Kyoto/js

From 2012.igem.org

(Difference between revisions)
Line 17: Line 17:
}
}
function showTabOfIndex(index) {
function showTabOfIndex(index) {
-
var contents = document.getElementById("kyoto-tab-contents").getElementsByTagName("div");
+
var contents = document.getElementById("kyoto-tab-contents").childNodes;
alert(contents.length);
alert(contents.length);
/*
/*

Revision as of 04:17, 26 September 2012