views:

1038

answers:

2

Hi,

I'm searching for a possibility to resize frames (not iFrame) by jQuery. unfortunatly I can't find any hint how to do it.

I'm truly grateful for any hint.

A: 

You will need to manipulate the frameset not the frame.

$('#frameset').attr("rows", newheight);
$('#frameset').attr("cols", newwidth);

I hope that helps

AutomatedTester
A: 

Just another hint is available here. It shows how to resize a frame by plain JavaScript.

I found this by searching "DOM frameset", as you'll want to change the frameset using its document object model representation. Unfortunately, the rows and colums are actually handled as plain string, uargh.

Bluehorn