3) Describe problem: I've placed this code on the site and it works well except that both vertical and horizontal scrollbars appear and the content area is expanded. When I click on an image the horizontal bar disappears but the vertical is still expanded.

Removing:

<link rel="stylesheet" href="thumbnailviewer.css" type="text/css" />

is the only thing that brings the scrollbar back to normal but obviously the script doesn't work. This may have a very simple solution but I'm new to this!

02-29-2008, 04:24 AM

jscheuer1

It may be as simple as needing to use a valid URL DOCTYPE for the page. I could tell better what the problem is though, if I had a link to your page:

Please post a link to the page on your site that contains the problematic code so we can check it out.

I know nothing of DOCTYPE tags, so please let me know how to write a proper one!

Thank you

02-29-2008, 02:37 PM

jscheuer1

That looks like it is the problem, at least part of the problem. Using this script inside of an iframe could also have something to do with it, but it looks like you are going to be OK there because the larger images fit inside the iframe.

Add this to the very top of your gallery.htm file (addition highlighted):