kafkapower
Programmer
Hi !
I would like to resize a window with frames. I did the same thing with a window without frames with this code:
function stretch(y,yfinal)
{
if (document.body.clientHeight < yfinal)
{
theHeight = document.body.clientHeight + y;
window.resizeTo(323,theHeight);
}
if (theHeight < yfinal)
{
str="stretch(" + y + "," + yfinal + "";
setTimeout(str, 20);
}
}
this code stretches the height of the window, but not in one time, it does it smoothly. How can I do the same thing with frames ?
Filipe Lopes.
I would like to resize a window with frames. I did the same thing with a window without frames with this code:
function stretch(y,yfinal)
{
if (document.body.clientHeight < yfinal)
{
theHeight = document.body.clientHeight + y;
window.resizeTo(323,theHeight);
}
if (theHeight < yfinal)
{
str="stretch(" + y + "," + yfinal + "";
setTimeout(str, 20);
}
}
this code stretches the height of the window, but not in one time, it does it smoothly. How can I do the same thing with frames ?
Filipe Lopes.