• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

disabling the maximize/restore buttons

 
An Riana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to do that? Disable maximising and restoring of a fixed 640 by 480 window. Possible?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just set "resizbale=0" and it wont resize at all , but only works with ns4.7 and ie5.5 ,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic