View Full Version : How to disable F11-button?

08-23-2002, 11:37 PM
does anyone know how to disable the F11-button to prevent the browser to maximize(IE)?

I have a window without back-button, menus, etc. When I press F11 the window maximizes and all these options are suddenly available.

I only need to solve for IE5.5 and above.

Thanx in advance.

08-24-2002, 04:43 AM
this should work!

document.onkeydown = function ()
if (122 == event.keyCode)
event.keyCode = 0;
return false;

08-24-2002, 06:51 PM
Yup, that's it.

Thanx man!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum