Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
} | } | ||
function changeTab(self) { | function changeTab(self) { | ||
- | alert( | + | var tabs = $("#kyoto-tabs").children("div"); |
+ | alert(tabs); | ||
/* | /* | ||
- | |||
var contents = document.getElementById("kyoto-tab-contents").childNodes; | var contents = document.getElementById("kyoto-tab-contents").childNodes; | ||
var i; | var i; | ||
Line 25: | Line 25: | ||
if (tabs[i].nodeType == 1) tabs[i].style.zIndex = 99; | if (tabs[i].nodeType == 1) tabs[i].style.zIndex = 99; | ||
} | } | ||
- | self.style. | + | self.style.zIndex = 101; |
*/ | */ | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 04:29, 26 September 2012