Hi All,
I have this script to show some hover effect, when you hover over the link a image is fading IN and and fading OUT when you hover out :
My question is, how can i set the opacity on 0 when the site loads? Now i see the hover effect when i enter the website and it should only be visible when i hover over the link.Code:$(document).ready(function(){ $(".a").hover( function() { $(this).stop().animate({"opacity": "1"}, "slow"); }, function() { $(this).stop().animate({"opacity": "0"}, "slow"); } ); });
Thanks in advance!
Greets!


Reply With Quote

Bookmarks