Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
function showTabOfIndex(index) { | function showTabOfIndex(index) { | ||
alert(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 26: | Line 25: | ||
} | } | ||
- | |||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 04:10, 26 September 2012