Is there a way to do that? Disable maximising and restoring of a fixed 640 by 480 window. Possible?
Joined: Nov 22, 2008
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
Joined: Feb 22, 2001
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 ...
Joined: Mar 06, 2001
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.
Joined: Oct 11, 2000
just set "resizbale=0" and it wont resize at all , but only works with ns4.7 and ie5.5 ,