Response title
This is preview!
Basically I have a stretched resizable background image, I want to switch it's src by clicking on a small icon or text link. I would like this transition to fade also. So when the link is clicked on, the image src fades into the new one. Any suggestions?
I've always done this by cloning the item you want to fadeout, placing it directly behind the current one, changing the src attribute, then fading out the top one.
Here's some example code that I've used before,
© 2013 jQuery Foundation
Sponsored by and others.