/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> jQuery(document).ready(function($){ $("#nav li").hover( function () { $(this).addClass('active'); }, function () { $(this).removeClass('active'); } ); }); </script>