Forum Moderators: open
Frame 1 (Menu)
Frame 2 (Thumbnails)
Clicking on thumbnails loads that one picture into Frame 2, which is too small to accomodate the largest of the full-size pics. However, this window is dynamicly sized...I think my frames are set at width="150,*" or something. So, however large the frame appears, the pic should be fitted accordingly. And if they shrink their browser down, I would like the pic to snap to size as well.
Thus, you could say... onLoad find window width, window height. Get the aspect, if height>width, aspect width, otherwise aspect height. Knowing the width and height, set style.width to the window width and style.height to the window height. (Replace the appropriate with the aspect value).
Note: when I say aspect, I mean the aspect ratio of the image.