I use jQuery for cross images.
This is the code I'm using:
$('.' + currentimage).fadeOut('slow', function() { $('.' + selectedimage).fadeIn('slow'); });
This attenuates the first image 100% before the selected image begins to fade. Is there an easy way to start fading in the second image when the first image has disappeared, say, 60-70%?
EDIT: All the good answers. I think there is one more problem. My images are not displayed on top of each other - and only one image is displayed at a time.
source share