PDA

View Full Version : is there a way in javascript to disable browsers minimize, maximize, and close botton


sonu208012
10-01-2002, 07:42 PM
is there any way in a javascript to disable or make disappear windows minimize, maximize , close button on top right corner on the window?

A1ien51
10-01-2002, 07:51 PM
You can not remove the buttons with the main window

Things you can do
you can trap the resizing of a window
<body onresize="window.resizeTo(300,300)">

IE has onbeforeload where it propmts the user

onunload fo all browsers.....

POP UP windows....get reid of resize buttons, can not get rid of close......

IE version....look here to get rid of buttons http://a1ien51.8k.com/scripts/notitle.htm

glenngv
10-02-2002, 10:29 AM
you can create .hta if you want

http://msdn.microsoft.com/workshop/author/hta/reference/objects/hta.asp