Return to Snippet

Revision: 5822
at April 6, 2008 22:20 by rblalock


Initial Code
$(document).ready(function(){
    $("#nav-one li").hover(
        function(){ $("ul", this).fadeIn("fast"); }, 
        function() { } 
    );
    if (document.all) {
        $("#nav-one li").hoverClass ("sfHover");
    }
});

$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
};

Initial URL

                                

Initial Description

                                

Initial Title
SuckerFish Fade

Initial Tags
jquery

Initial Language
JavaScript