Is there a way to do that? Disable maximising and restoring of a fixed 640 by 480 window. Possible?
\m/
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
Yup. Use the window.open() function. It takes a list of options as one of its arguments. In there you can specify the exact size of the window you are opening, whether or not to use scrollbars, whether or not to allow resize, and several other things. HTH
Connie Boyd
Ranch Hand
Joined: Feb 22, 2001
Posts: 73
posted
0
Is there a good reason to do that though? I try not to manipulate the user's environment too much because it can get frustrating for the user. I went to a site that gave me a window with no options, and it had disabled the close button in the upper corner. Maybe your users would prefer to have those option available to them ...
An Riana
Greenhorn
Joined: Mar 06, 2001
Posts: 2
posted
0
weLL bOdie, aS a maTTeR oF faCt, i have dOne thaT. windOw siZe, sCrOllbaRs anD aLL, buT tHe pRoBLem iS i can'T geT the diSaBLinG Of the maXimiZe buttOn dOne. hi cOnnie. i juZ wOuLdn't wanT tHe useRS tO geT a fuLL scReen vieW oF tHe winDOw. haD nO inTentiOnS Of diSaBLinG tHe x buttOn thOuGh. 10x n.e.waY.
ray bond
Ranch Hand
Joined: Oct 11, 2000
Posts: 111
posted
0
just set "resizbale=0" and it wont resize at all , but only works with ns4.7 and ie5.5 ,