Results 1 to 2 of 2

Thread: Image Thumbnail Viewer

  1. #1
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default Image Thumbnail Viewer

    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.

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

    Default

    I assume you still want the image centered horizontally, so just vertical position is at 10px. Simply find the line:

    Code:
    divobj.style.top=Math.floor(parseInt(topposition))+"px"
    within the .js file and change that to:

    Code:
    divobj.style.top="10px"

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
  •