Forums
This topic is locked
Window Resize- No!
Posted 17 Sep 2002 18:53:46
1
has voted
17 Sep 2002 18:53:46 Just Thomas posted:
I have a javascript that runs everytime the page opens, basically its javascript window resize, it forces the browser window to resize to whatever i stipulate. How do i make it so that once resized it can't be rezized by the user, ie the browser window is not able to be manipulated?Thanks in advance
J
Replies
Replied 24 Sep 2002 16:56:28
24 Sep 2002 16:56:28 Stuart Harland replied:
If opening a sized window with the javascript function of:
'function OpenWindow(URL,Name,Feat)
'{
' window.open(URL,Name,Feat);
'}
You can pass in data into your calling of the function in the onClick event of the link to the page.
'onClick="OpenWindow('test_page.htm','Window-Title','resizable=no')"
This means that the small handles at the corner of the window will be gone and users will not be able to resize...
hope this helps a bit, you'll probably be able to solve it from this knowing that 'resizable' is a property of the window.
********************
wheatNOTmeat
'function OpenWindow(URL,Name,Feat)
'{
' window.open(URL,Name,Feat);
'}
You can pass in data into your calling of the function in the onClick event of the link to the page.
'onClick="OpenWindow('test_page.htm','Window-Title','resizable=no')"
This means that the small handles at the corner of the window will be gone and users will not be able to resize...
hope this helps a bit, you'll probably be able to solve it from this knowing that 'resizable' is a property of the window.
********************
wheatNOTmeat