Window.setHotkeys() (Method)

Activate or deactivate keyboard shortcuts for this window.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:undefined
JavaScript syntax:NmyWindow.setHotKeys(aSwitch)
Argument list:aSwitchA Boolean switch value

This provides a way to turn keyboard short-cuts on and off. For windows that you create with the method, you can control this with the feature list that you pass to the open() method.

Pass a true value to activate the hot keys and a false value to deactivate them.


See also:UniversalBrowserWrite