Results 1 to 3 of 3

Thread: Fade in slideshow loads black background first in IE

  1. #1
    Join Date
    Apr 2007
    Posts
    32
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Fade in slideshow loads black background first in IE

    Script Title: FF1+ IE6+ Opr9+
    Ultimate Fade-in slideshow (v2.4)
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    A little stupid picky question, In IE the fade-in slideshow background color is black. So if you load a page with this, it will be black for a second before it loads the images. Is there a way to have it be a white background or even have the image be fully loaded without a fade in?

    Thanks,
    Josh
    Last edited by izzysanime; 05-19-2011 at 12:44 PM. Reason: changed to resolved

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,925
    Thanks
    43
    Thanked 3,190 Times in 3,154 Posts
    Blog Entries
    12

    Default

    Put this style in the head of the page:

    Code:
    <style type="text/css">
    #fadeshow1, #fadeshow1 .gallerylayer {
    	background-color: #fff !important;
    }
    </style>
    where fadeshow1 is the wrapperid for the show. Or you can go for the first image as well by doing:

    Code:
    <style type="text/css">
    #fadeshow1, #fadeshow1 .gallerylayer {
    	background: #fff url(path/filename.jpg) !important;
    }
    </style>
    where path/ is the path (if any) to the first image and filename.jpg is the filename and extension of the first image in your slideshow.

    Be sure to use the !important keyword as shown to override the script's default styles for these elements.

    Note: You may instead incorporate the rule you choose to use into an existing stylesheet for the page.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    izzysanime (05-19-2011)

  4. #3
    Join Date
    Apr 2007
    Posts
    32
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Awesome, thank you.

    I had tried that in just "#fadeshow1" but it wouldn't work before. Thanks for telling the other one I needed to add.

    Thanks,
    Josh

Tags for this Thread

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
  •