PDA

View Full Version : Image Thumbnail Viewer



jc_gmk
10-12-2007, 09:13 AM
1) Script Title:
Image Thumbnail Viewer
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm
3) Describe problem:

Is there an easy way to change where the 'Image Thumbnail Viewer' is displayed?

At the moment is is positioned right in the middle of the browser, can I position it so it's say 10px from the top.

ddadmin
10-14-2007, 08:10 AM
I assume you still want the image centered horizontally, so just vertical position is at 10px. Simply find the line:


divobj.style.top=Math.floor(parseInt(topposition))+"px"

within the .js file and change that to:


divobj.style.top="10px"