Results 1 to 3 of 3

Thread: Background not clearing in slideshow

  1. #1
    Join Date
    Jul 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Background not clearing in slideshow

    1) Script Title: Translucent slideshow Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ide.htm#center

    3) Describe problem:

    The Description says:
    "Images within the slideshow can be of varying dimensions- the script will center each image accordingly within the display area".

    This is true, BUT when you have a smaller picture slide in over a larger one, the end-result is that they are stacked up with the previous picture still showing round the outside. Surely it ought to clear the 'unused' display area at some stage?

    I have tried it on all main browsers with the same result and with a completely blank html page only containing your code/js etc.

    Any ideas, please, as it is otherwise excellent.

  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

    I'm not certain that would qualify as a bug. But if not, it's very close. First thing I'd try is giving the slide class a background color. Put this in your stylesheet:

    Code:
    .slide {background-color: #fff;}
    If you want more help, please give us a link to the:

    a completely blank html page only containing your code/js etc.
    you mention that shows the problem.
    - 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:

    Fozzie (07-31-2011)

  4. #3
    Join Date
    Jul 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Brilliant. Problem fixed. Thank you, both for the fix and the prompt reply.

    As you say, not really a bug. More an 'undocumented feature' as it turns out! I guess I should have studied the code more thoroughly first and I might have found it (or possibly not!)

    Maybe it could be included as another style declaration in the sample code? You never know, but somebody might want another color.

    Thanks once again.

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
  •