PDA

View Full Version : Fade-in slideshow background



n3wb1e
05-20-2011, 04:19 PM
Ultimate Fade-in slideshow (v2.4)

http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

If the image size is smaller than the script dimensions, you see a black background. Is there a way to change it so that when you put different sized images in the array, you see a white background? Or a background colour of choice?

Thanks.

jscheuer1
05-20-2011, 05:53 PM
Put this style in the head of the page (or incorporate its rule into an existing stylesheet for the page):


<style type="text/css">
#fadeshow1, #fadeshow1 .gallerylayer {
background-color: #fff !important;
}
</style>

where fadeshow1 is the wrapperid for the show. You may use any valid css color value in place of #fff (white).

Be sure to use the !important keyword as shown to override the script's default styles for these elements.

n3wb1e
05-20-2011, 06:05 PM
Thank you John, works like a charm.

dustnbones
05-21-2011, 03:03 PM
Put this style in the head of the page (or incorporate its rule into an existing stylesheet for the page):


<style type="text/css">
#fadeshow1, #fadeshow1 .gallerylayer {
background-color: #fff !important;
}
</style>

where fadeshow1 is the wrapperid for the show. You may use any valid css color value in place of #fff (white).

Be sure to use the !important keyword as shown to override the script's default styles for these elements.
Thanks very much for your help. All sorted now.:)