Drop down menus with personally made jQuery Plugins.
// Special Personal Plugins ;(function($){ // Fade In $.fn.mySpecialFadeIn = function(){ return $(this).css('opacity', 0).show().fadeTo('normal', 1); }; // Fade Out $.fn.mySpecialFadeOut = function(){ return $(this).fadeTo('normal', 0, function(){ $(this).hide(); }); }; })(jQuery); // DOM Ready $(function(){ $('.ddmenu').singleDropMenu({parentMO: 'ddmenu-hover', childMO: 'ddchildhover', timer: 1500, show: 'mySpecialFadeIn', hide: 'mySpecialFadeOut'}); });