Results 1 to 2 of 2

Thread: Can i edit image thumbnail viewer window position ?

  1. #1
    Join Date
    Aug 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can i edit image thumbnail viewer window position ?

    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.

    Thanks for any replies

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:
    Code:
    divobj.style.left=docwidth/2-objwidth/2-50+"px" //Center div element horizontally
    Adjust 50 accordingly.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •