Team:Korea U Seoul/template/banner
From 2013.igem.org
(Difference between revisions)
Line 171: | Line 171: | ||
#nav .on a, | #nav .on a, | ||
#nav li li a {background:#d8d3cd; color:#8b0029;} | #nav li li a {background:#d8d3cd; color:#8b0029;} | ||
- | |||
/* contents */ | /* contents */ | ||
#content { | #content { | ||
Line 232: | Line 231: | ||
</div> | </div> | ||
<script> | <script> | ||
- | $('#nav li').bind('mouseenter keyup | + | $('#nav li').bind('mouseenter keyup', function() { |
$(this) .addClass('on').siblings().removeClass(); | $(this) .addClass('on').siblings().removeClass(); | ||
}); | }); |
Revision as of 18:29, 27 September 2013