use jquery to fade in button with hovering and the fadeout after hovering out -
i need jquery fade in button when hover on image disappear after hover off...i've been looking alot , can't disappear. im using hover() function , button class "goto" (#goto). use combination of fadein , fadeout?
is this want?
$("img").hover( function(){$(".goto").fadein()} ,function(){$(".goto").fadeout()} );
the jquery .hover()
can take 2 functions, first being when hover on, second when hover off http://api.jquery.com/hover/
Comments
Post a Comment