PDA

View Full Version : Second Image Showing in Slideshow



dougr
03-22-2012, 04:43 PM
1) Script Title: Ultimate Fade-in slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: 1) I am using the Ultimate Fade-in slideshow. I am getting it to work with .png files that are cutout of some packaging. I have the background transparent, but once the fade happens in the slideshow you can still see the first image behind the second when they are not the exact shape. How can I make it so that once the fade happens the image behind goes away?

You can see what I mean at http://www.salguodcreative.com/baxters/index.html

jscheuer1
03-22-2012, 07:15 PM
In your fadeslideshow.js file around line #163, change:


setting.$gallerylayers.eq(setting.fglayer).css({zIndex:999}) //foreground layer becomes background

to:


setting.$gallerylayers.eq(setting.fglayer).css({zIndex:999}).animate({opacity: 0}); //foreground layer becomes background

dougr
03-23-2012, 03:04 PM
John, thank you very much. That worked great.