Crossfade an image with JQuery


#1

say I have an image:


I want to cross fade this img to ‘images/2.jpg’…How can I do that with jquery? thanks!


#2

add this plugin to your page: http://malsup.com/jquery/cycle/

change your html to something like:



#3

Perfect, thanks!


#4

Nice looking plugin, I will have to add this one to my list.