Window.setHotkeys() (Method)

Activate or deactivate keyboard shortcuts for this window.

Availability:

JavaScript - 1.2
Netscape - 4.0
Property/method value type:undefined
JavaScript syntax:NmyWindow.setHotKeys(aSwitch)
NsetHotKeys(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 window.open() 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.

Warnings:

See also:UniversalBrowserWrite