PDA

View Full Version : changing frame size by javascript?


piz
03-17-2003, 04:34 AM
Hi,

Is it possible to change the width or height of a frame by script on clicking on a link or any other runtime-event?

thx,
piz

Spudhead
03-17-2003, 09:48 AM
Umm.

You could do it by clicking on a link:

<a href="myDifferentlySizedFramePage.html">click</a>

Does that help?

piz
03-17-2003, 11:29 AM
thx, i thought this, too, but i didn't want to load the page another time.

I found something for the internet explorer:

for example:

parent.document.all.frameset.cols = "200,*";

It works.