PDA

View Full Version : Fade-in slideshow: "Loading..." background image?



hsteen
10-29-2009, 06:12 PM
1) Script Title: Ultimate Fade-in slideshow (v2.1)

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

3) Describe problem:
First of all: Thanks for this fantastic script! I would like to know if it is possible to display either a static text like "Loading..." or even an arbitrary animated gif while the slideshow content images are loading from the server. This would be extremely useful, since otherwise there is just a blank (or even black...) space until the first slide appears. Thanks a lot for your support!

jscheuer1
10-29-2009, 08:40 PM
If all of your images are larger than the default loading image (54 x 55) that comes with the slide show and you have placed it in the same folder as your page, you may use it in overriding style in the head of the page like so:


<style type="text/css">
#fadeshow1, #fadeshow1 .gallerylayer {
background-image: url(loading.gif)!important;
background-position: center!important;
background-repeat: no-repeat!important;
}
</style>

where fadeshow1 is the wrapperid for that slide show.

That way unless or until the slide images show up, it will be seen. Otherwise, the images in your show will cover it.