I would like to have a frame size its self to fit the content of the page. So if i have a table that the data makes 410 pixels high, the frame is 410 pixels.

I need it to be able to have a max of %75 of the screen. And I need to be able to refresh its height using an onClick, without refreshing the page content.

Is this possible, and can anyone help?