Results 1 to 2 of 2

Thread: Fade-in slideshow: "Loading..." background image?

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fade-in slideshow: "Loading..." background image?

    1) Script Title: Ultimate Fade-in slideshow (v2.1)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.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!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    <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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •