Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
} | } | ||
+ | function changeTab(tab) { | ||
+ | var tabs = $("#kyoto-tabs").children("li"); | ||
+ | /*for (var i = 0; i < tabs.length; i++) tabs[i].css("border-bottom","1px solid #c8c2b6");*/ | ||
+ | tab.css("border-bottom","none"); | ||
+ | } | ||
$(function() { | $(function() { | ||
setScroll($("#kyoto-menu")); | setScroll($("#kyoto-menu")); | ||
setScroll($(".kyoto-post-it")); | setScroll($(".kyoto-post-it")); | ||
- | $("#kyoto-tabs").children("li").click(function() { changeTab($(this)); } | + | $("#kyoto-tabs").children("li").click(function() { changeTab($(this)); }); |
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 04:58, 26 September 2012