I'm trying to set up a slideshow and the JS I'm using must have a default of black background and I'd like it to be white but nothing I do changes it. (the images are a lot smaller than the specified total size and I want the excess background to be all white).
Can someone tell me how to fix it (I don't write JS):
here is the JS:
var mygallery=new SomeSlideShow({
wrapperid: "Someshow1", //ID of blank DIV on page to house Slideshow
dimensions: [960, 225], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/hair1.jpg"],
["images/hair2.jpg"],
["images/hair3.jpg"],
["images/hair4.jpg"],
["images/hair5.jpg"],
["images/hair6.jpg"],
["images/hair7.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
togglerid: ""
Here is the CSS:
.slideshow { width:960px;
text-align:right;
margin:0 auto 0 auto;
background:#ffffff;
height:225px;
border:4px solid #666666; }