Results 1 to 4 of 4

Thread: DOCtype gives slideshow horizontal scrollbar

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    920
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default DOCtype gives slideshow horizontal scrollbar

    1) Script Title: http://www.dynamicdrive.com/dynamici...rollerlink.htm

    2) Script URL (on DD): Scrollable Menu Links

    3) Describe problem: I am using this script to have a nice slideshow, controlled by the user, with the ability to have the LightBox in it.
    I used that one, and not this one (http://www.dynamicdrive.com/dynamici...iongallery.htm) because otherwise the JavaScript of the LightBox and the motiongallery conflict.

    It says in the description that "the script is also updated for a Mozilla bug and now works in webpages with a strict doctype setting". When I use the following doctype, there appears a horizontal scrollbar, as wide as all the content of the images together.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
                "http://www.w3.org/TR/html4/strict.dtd">
    How can the scrollbar be avoided, please ?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    Jeremy | jfein.net

  3. #3
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    920
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Sorry: http://www.b-love-d.com

    This is the doctype of the index and contactpages:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    
                "http://www.w3.org/TR/html4/strict.dtd">
    But I had to use this doctype for the slideshow (click on "ballerinas") to avoid the slideshow.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    You can see the slideshow with the strict doctype here, to see the scrolling: http://www.b-love-d.com/test/ballerinasummer.php

    Issue is not the doctypes itself; if it works, it works. But because I have to change the doctype, the site looks different in IE and FF (the menu items below move a bit to the left).
    Last edited by chechu; 03-02-2010 at 03:04 PM.

  4. #4
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    920
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Anyone, please ?
    That site is really buggin me!
    - the doctypes changes the design in IE and FF
    - the LightBox doesn't work with the slideshow in FF
    Help appreciated!

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
  •