Drop down menu with jquery

On 6 February 2008, in computing, by ayoli

Here’s a drop down animated menu example made with jquery.js 1.2.2 $(function() { $(“a#menu-call”).mouseover( function() { $(“ul#menu”).animate({height:”show”,opacity:”show”},”medium”); return false; }); $(“ul#menu”).hover( function() {}, function() { $(“ul#menu”).animate({opacity:1.0},1125).slideUp(268); return false; }); $(“a.mlnk”).hover( function() { $(this).css({ backgroundColor:”#ececec”, border:”1px solid #1042de” }) }, function() { $(this).css({ border:”none”,backgroundColor:”#ffffff” }) } ); }) Roll over this text to show the menu [...]

Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!