SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: resize a window with frames
-
Oct 3, 2002, 02:41 #1
- Join Date
- Feb 2002
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
resize a window with frames
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.
-
Oct 17, 2002, 02:06 #2
- Join Date
- Mar 2002
- Posts
- 327
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Re: resize a window with frames
I presume that each frame would have to have it's own code to do this.
All4YourPC for all your PC needs. Custom software.
Websites. Web marketing. Training.
http://members.aol.com/nickjc67
Bookmarks