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");
-
for (var i = 0; i < tabs.length; i++) { $tabs[i].css("border-bottom","1px solid #c8c2b6"); }
+
$tabs.css("border-bottom","1px solid #c8c2b6");
tab.css("border-bottom","none");
tab.css("border-bottom","none");
}
}

Revision as of 05:05, 26 September 2012