Results 1 to 3 of 3

Thread: Centering Problem with "Image Thumbnail Viewer"

  1. #1
    Join Date
    Aug 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Centering Problem with "Image Thumbnail Viewer"

    hello friends

    this script http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm is giving me many headaches.

    Using thumbnails, I am trying to have my pop-up image centred in such a way that it will be visible without the user having to drag. witness: http://www.kathrynbass.ca/test.html

    Is there a way that I can align the pop-up image along the centre/top of the frame, rather than have it appear in some mysterious and mal-aligned centre?

    if this is unclear, return to http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm and notice that when you click on the txt link examples the image pops up in the centre of the page. this is what i want to have happen on mine.

    eagerly awaiting your response
    mike

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Where you are using:
    Code:
    onClick="changeImages('thetarget2','http://www.kathrynbass.ca/img/test.jpg');return enlarge('http://www.kathrynbass.ca/img/test.jpg',event,'center',150,375)"
    You need to make the numbers at the end (highlighted red) correspond to the actual width and height of each large image. 350 and 263 respectively, in this particular case. For test2.jpg it is 300 and 400, for test3.jpg it is also 300 x 400.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks professor!

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
  •