PDA

View Full Version : Change color matting in fade slideshow?



More2Do
10-13-2012, 12:03 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: Can the background matting of the fade slideshow be changed from black to white? If yes, where in the script should the change be made?

Thanks

jscheuer1
10-13-2012, 12:19 AM
No need to edit the script. Use css style.

Say your slideshow's uniqueid is fadeshow1, then put this stylesheet in the head of the page:


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

Or put its rule in an existing stylesheet for the page. The !important keyword overrides the scripted style. If your slideshow uses a different uniqueid, substitute that for fadeshow1 in the above.

The browser cache may need to be cleared and/or the page refreshed to see changes.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.

More2Do
10-13-2012, 01:20 AM
It worked, thank you!