In this line (highlighted):
Code:
if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilaye
Change background-color to just background. So you have:
Code:
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
Once you have that, you can use standard css style background properties (including an image URL) in this part of the script:
Code:
//configure background color:
slidebgcolor="#EAEAEA"
Example:
Code:
//configure background color:
slidebgcolor="url('some.gif')"
Bookmarks