Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $("#nav-primary ul.menu ul").css({ display: 'none' });
- $("#nav-primary ul.menu li").hover(function() {
- $(this).find('a').next('.sub-menu')
- .stop(true, true).delay(50).animate({ "height": "show", "opacity": "show" }, 200 );
- }, function(){
- $(this).find('a').next('.sub-menu')
- .stop(true, true).delay(50).animate({ "height": "hide", "opacity": "hide" }, 200 );
- });
- });
Add Comment
Please, Sign In to add comment