View Full Version : Onload() to change frame size...

05-31-2005, 11:25 PM
Okay, I'd like to be able to change the size (height specifically) of a frame layout page as soon as the page loads into the browser, and then on a mouseover page, be able to restore it to it's original size, but after the mouse moves away, the frame be reverted again... SO, in other words, I have a page that has a menu in an upper frame of a page that has 2 frames in total. Now, when the page loads, I need the upper frame to be tiny, but when a mouse moves over the menu, I need the upper frame to be able to grow outward again because it has to make room for the menu to fold itself out. See what I'm saying? Any help would be truly thankful.

The way I thought I'd try to attack this problem was by putting some sort of onload() into the main frame deffinition page, and making the mousover() on the upper frame page. Do you people think this would work? Thanks again.