View Full Version : Can i edit image thumbnail viewer window position ?

08-07-2009, 07:51 AM
1) Script Title: Image Thumbnail Viewer

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

3) Describe problem: How do i define/edit the viewer's window position ? I'd like it to open more to the left. Check out my site (http://www.kitare.com).

Thanks for any replies

08-07-2009, 08:46 PM
By default the script centers the enlarged image. To manually move it to the left a bit, find and edit the line below inside the .js file with the changes in red:

divobj.style.left=docwidth/2-objwidth/2-50+"px" //Center div element horizontally

Adjust 50 accordingly.