Template:Kyoto/js

From 2012.igem.org

(Difference between revisions)
Line 18: Line 18:
function changeTab(self) {
function changeTab(self) {
var tabs = $("#kyoto-tabs").children("li");
var tabs = $("#kyoto-tabs").children("li");
-
alert(tabs.length);
 
-
/*
 
-
var contents = document.getElementById("kyoto-tab-contents").childNodes;
 
var i;
var i;
-
for (i = 0; i < tabs.length; i++) {
+
for (i = 0; i < tabs.length; i++) tabs[i].style.zIndex = 99;
-
if (tabs[i].nodeType == 1) tabs[i].style.zIndex = 99;
+
-
}
+
self.style.zIndex = 101;
self.style.zIndex = 101;
-
*/
 
}
}
</script>
</script>
</html>
</html>

Revision as of 04:32, 26 September 2012