PDA

View Full Version : Image Thumbnail Viewer: Scroll bar problem



nextworld
10-07-2007, 10:20 AM
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.

jscheuer1
10-07-2007, 03:51 PM
You have two opening <body> tags in your source code. Only one is allowed per page. Get rid of this one (around line #1061):


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

nextworld
10-07-2007, 04:27 PM
Thank you for taking the time to reply John - specially because the problem had nothing to do with the script.