Template:Kyoto/js

From 2012.igem.org

(Difference between revisions)
Line 17: Line 17:
}
}
function showTabOfIndex(index) {
function showTabOfIndex(index) {
-
alert(index);
 
var contents = document.getElementById("kyoto-tab-contents").getElementByTagName("div");
var contents = document.getElementById("kyoto-tab-contents").getElementByTagName("div");
alert(contents);
alert(contents);
 +
/*
var tabs = document.getElementById("kyoto-tabs").childNodes;
var tabs = document.getElementById("kyoto-tabs").childNodes;
for (var i = 0; i < children.length; i++) {
for (var i = 0; i < children.length; i++) {
Line 25: Line 25:
}
}
 +
*/
}
}
</script>
</script>
</html>
</html>

Revision as of 04:11, 26 September 2012