View Full Version : how do you make background transparent in fadeslideshow
rusty813
01-19-2011, 05:06 AM
1) Script Title: Ultimate Fade-in slideshow (v2.4)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: I want to know how to make the background transparent instead of it being black behind the images.
thanks,
rusty813
lukeprice
01-19-2011, 02:38 PM
on line 48 and 54 of the javascript file you will find the black background settings, just replace it with transparent :)
AnneHolte
09-02-2011, 06:23 PM
I have tried this as well, but I have different sized pictures in the slideshow, and the previous picture doesn't disappear so that it can be seen behind the present picture, if it has another size.
Can anyone tell me how to prevent this happening, meaning hiding the previous picture when the next is shown?
Thanks.
pcb-beachbum
12-18-2011, 01:43 AM
in the current version of faseslideshow.js
my line # 163 I added the ,opacity:0
to fix the last picture being shown if pictures are different sizes.
setting.$gallerylayers.eq(setting.fglayer).css({zIndex:999, opacity:0}) //foreground layer becomes background
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.