how can I partially fade out an image out with jQuery -
this question has answer here:
- how fade in *partially* in jquery? 4 answers
i have background image. want fade out part-way when page loads, meaning want effect of fadeout -- instead of making image invisible want stop part-way semi-visible.
is there way of doing fadeout? there method use?
did tried .animate(properties, duration) function?
$("#image").animate({ opacity: 0.5}, 200);
or use .fadeto(duration, opacity) function:
$("#image").fadeto(2000, 0.5);
Comments
Post a Comment