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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -