Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
function changeTab(tab) { | function changeTab(tab) { | ||
var $tabs = $("#kyoto-tabs").children("li"); | var $tabs = $("#kyoto-tabs").children("li"); | ||
- | alert($tabs); | + | alert($tabs[0]); |
for (var i = 0; i < tabs.length; i++) $tabs[i].css("border-bottom","1px solid #c8c2b6"); | for (var i = 0; i < tabs.length; i++) $tabs[i].css("border-bottom","1px solid #c8c2b6"); | ||
tab.css("border-bottom","none"); | tab.css("border-bottom","none"); |
Revision as of 05:04, 26 September 2012