View Full Version : Changing Slideshow 'background'

07-05-2014, 07:34 PM
1) Script Title: Ultimate Fade-in slideshow (v2.6)

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

3) Describe problem:

I'll make it short:
Images in the Slideshow, that doesn't fit in the dimensions I entered, are having space around them. This space is black. How to change it to white or transparent?

I also was search in this forum, but couldn't find a solution.
In addition I tried it for myself with replacing 'black' to 'white' in the .js but I changed nothing at all.

I hope you can helf me.
Thank you!


07-06-2014, 03:28 AM
In fadeslideshow.js you should see this not far from the top: change the red to your color.

var fullhtml=fadeSlideShow.routines.getFullHTML(setting.imagearray) //get full HTML of entire slideshow
setting.$wrapperdiv=$('#'+setting.wrapperid).css({position:'relative', visibility:'visible', background:'black', overflow:'hidden', width:setting.dimensions[0], height:setting.dimensions[1]}).empty() //main slideshow DIV

i would post all of it but i am not able too because it is so long.