Results 1 to 8 of 8

Thread: lightbox overlay not scrolling down in IE7

  1. #1
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default lightbox overlay not scrolling down in IE7

    I am using Lightbox v2.03 http://www.dynamicdrive.com/dynamici...box2/index.htm
    it is working very well in FF, but in IE7 the overlay is not scrolling down : the overlay is only screenheight, when i scroll down it disappaers.
    The page is this : http://www.captain-africa.com/nl_foto_Burkina_Mali.htm
    Can anyone help me out ?
    Thanks a lot

  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

    No problem here in IE 7.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default solved in a crude way

    the problem is here :
    the width and height of the overlay are calcualted to equal the document size. In IE there was a glitch with this.
    As I use the lightbox just on a few pages with all more or less the same size, I made the height into a constant value.
    It is a crude solution to the problem

  4. #4
    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 might not have that problem with a valid document. Try replacing:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
        "http://www.w3.org/TR/html4/strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    with:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    - John
    ________________________

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

  5. #5
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks jscheuer1
    but this doesn't change it. Also it interferes with my menu (HVmenu, from here) in FF3.
    tahnks anyway

  6. #6
    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

    That's funny because with a valid DOCTYPE declaration on the DD demo page for this script, there isn't that problem either. Try validating your markup.
    - John
    ________________________

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

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

    polvan (02-03-2009)

  8. #7
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    still i use the doctype provided with the HV menu, otherwise the HV menu does not work so well in FF, though all is OK in IE

  9. #8
    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

    Well yes, when other older scripts are involved things can get tricky. I do try to remain sensitive both to that, and to the fact that not everyone can and/or will take the time to upgrade to valid code.

    So I'm not making any demands. I just wanted to point out for you and possibly for others that many modern scripts like Lightbox (which is far from perfect) work best in a valid coding environment.

    Once you elect not to maintain such an environment, the number of required fixes, and their specificity tends to grow, making maintenance more time consuming.
    - 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
  •