Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
function changeTab(tab) { | function changeTab(tab) { | ||
- | var tabs = $("#kyoto-tabs").children("li"); | + | var $tabs = $("#kyoto-tabs").children("li"); |
- | 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:02, 26 September 2012