Team:Korea U Seoul/template/banner

From 2013.igem.org

(Difference between revisions)
Line 281: Line 281:
</div>
</div>
<script>
<script>
-
$('#nav li').bind('mouseenter keyup', function() {
+
$('#nav li').bind('mouseenter keyup mouseleave', function() {
 +
$(this) .addClass('on').siblings().removeClass();
 +
});
 +
$('#nav li lu li').bind('mouseenter keyup mouseleave', function() {
$(this) .addClass('on').siblings().removeClass();
$(this) .addClass('on').siblings().removeClass();
});
});

Revision as of 21:58, 27 September 2013