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");
+
var contents = document.getElementById("kyoto-tab-contents").getElementsByTagName("div");
-
alert(contents.childNodes);
+
alert(contents);
/*
/*
var tabs = document.getElementById("kyoto-tabs").childNodes;
var tabs = document.getElementById("kyoto-tabs").childNodes;

Revision as of 04:15, 26 September 2012