Results 1 to 3 of 3

Thread: initial black flash

  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default initial black flash

    Sorry to be a pain, but I'm also having trouble eliminating the initial black flash with the slideshow. I followed thread 48665 and changed 'black" to 'white' and then 'ffffff' in line 47 (of my version, not line 49 as in the description), but still no luck.

    setting.$wrapperdiv=$('#'+setting.wrapperid).css({position:'relative', visibility:'visible', background:'ffffff', overflow:'hidden', width:setting.dimensions[0], height:setting.dimensions[1]}).empty() //main slideshow DIV
    if (setting.$wrapperdiv.length==0){ //if no wrapper DIV found

    thanks, Paul

  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

    You really don't need to edit the script for that, though if done properly that can work. However, it's generally best to leave a script alone, that way if you need help with it in the future, it won't be a custom job. What you are looking for can be done with css alone. Let's say your wrapperid is fadeshow1, add this to your stylesheet:

    Code:
    #fadeshow1, #fadeshow1 .gallerylayer {
    background-color: #fff!important;
    }
    Just make sure if you are using a different wrapperid that you substitute it for fadeshow1 in the above.
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up lasting gratitude

    John,

    Brilliant. It was the .gallery class that I'd been missing.

    Apologies for the delay in this feedback -- had a bit of a family crisis.

    I'm new to web design, and though fascinating & exciting it has its moments of monumental frustration which can push you to the edge.

    I owe you big-time. If there's anhything I can do, don't hesitate to ask. I'm a retired physics teacher so if your kids (?) have any questions, I'll try to answer them.

    If you're ever up in my hometown - Montreal (land of high taxes, bad roads, and poor weather) - let me know and I'll show you around.

    paul.kenton1@gmail.com

    Once again, thanks for saving sanity,

    Paul

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
  •