Results 1 to 3 of 3

Thread: Image Thumbnail Viewer: Scroll bar problem

  1. #1
    Join Date
    Oct 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer: Scroll bar problem

    1) Script Title:
    Image Thumbnail Viewer

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

    3) Describe problem:
    I've installed the script today on my website and it works beautifully. The only problem is that when a page containing the script and thumbnail is first opened, a scroll bar (that should not be there) appears at the bottom of the browser window. It disappears once the thumbnail is clicked.

    For example, the following page contains the script:
    http://www.nextworld.in/proddetails.asp?sku=SW2931

    The thumbnail viewer is activated by clicking the '[+] click here to enlarge' link below the product image.

    Any help would be appreciated.

    Thanks.
    Last edited by nextworld; 10-07-2007 at 10:22 AM. Reason: Title incomplete

  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 have two opening <body> tags in your source code. Only one is allowed per page. Get rid of this one (around line #1061):

    Code:
    <body style="text-align: right">
    Its text-align:right is what is causing the problem. So, don't use it for the body tag that you keep.
    - John
    ________________________

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

  3. #3
    Join Date
    Oct 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for taking the time to reply John - specially because the problem had nothing to do with the script.

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
  •