SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2001
    Location
    Missouri
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    resizing or reopening window?

    I have tried to figure this one out so long that I've moved out of the productive stage and into the frustration stage. Please help if you can.

    I'm doing a photo gallery. Click on a thumbnail and it opens the large version in a new window that is the exact size of the photo. SOME of the photos are different dimensions. Right now I force a window.resizeTo after every new photo whether it's necessary or not. 1) I wanted to only do it if the new photo is a different size than the old one. 2) This resizeTo only seems to work in IE... that's not acceptable.

    Any suggestions would be much appreciated. If you want to take a look at it to get a better idea, go to http://www.networthyinc.com/personal/europe/gallery.php

    Thanks.

    --Shawn
    _____________________________
    Shawn Vickers
    http://www.networthyinc.com/

  2. #2
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shawn:

    You're opening the window with given sizes - you don't need to resize it!

    I think Andrew or one of the others will help with the NN stuff - that's not my area.

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---


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
  •