PDA

View Full Version : Ultimate Fade-in slideshow - Replace background color with image?



vegeman
03-20-2013, 01:46 PM
Ultimate Fade-in slideshow (v2.4)

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

On line 44 of the .js (background:'black') I understand that "black" can be changed to a different color.
Is there a way to replace the color with an image?

Thanks.

Beverleyh
03-20-2013, 02:21 PM
What if you use;
background-image:'url(path/to/img.jpg)'

vegeman
03-20-2013, 02:34 PM
Sorry, but all that did was to remove the slideshow completely.

Any other suggestions?

Thanks.

Beverleyh
03-20-2013, 03:09 PM
I dont see background:'black' on line 44 from the script page. Where abouts in the script do you mean?

Beverleyh
03-20-2013, 03:12 PM
Or try
background:'url(path/to/img.jpg)'This works for me as a background image on the peekaboo description panel.

vegeman
03-20-2013, 03:32 PM
Sorry, I meant line 54 in the .js.
Also, your last suggestion worked great!
"background:" instead of "background-image:" did the trick.

You rock !!!

Thanks...