"jn" <us********************************@jasonnorris.ne t> wrote in message
news:d_*********************@twister.tampabay.rr.c om...
<script>
function open(url){
window.open(url,"Picture","width=370,height=260,to olbar=no,menubar=no,resize able=no");
}
</script>
Inside your thumbnail links, just call your function with the correct url:
<a href="#" onclick="open('..img/gallery1/1.jpg')">
If you have to scroll down to see the thumbnail you want to
"enlarge", your way would open a new window and because
of this # it would cause browser to move "focus" to the top
of the main page, so for next image, we would have to scroll
down again to see thumbnails, etc...
Another thing, if somebody tries to open that link in a new
window, 2 windows will be open, one for the image, and
another for the main page.