jQuery background image transition
- by Hock
I have a div that has a 'home.jpg' image as background and I want the background to be 'another_image.jpg' when I click something. The thing is that I want the new background to fadeIn and not just to appear (by doing some .css('background', url('another_image.jpg')); )
Is there a way to do that? I've tried the bgImageTransition plugin but it just adds another element on top of the div I had...
Thanks,