of registering those events/properties. But from what you're
saying, that can't be done. Unless I put the events on the window I
guess.
Yes, register your handler with the window e.g.
window.addEventListener("keypress", new KeypressHandler(), false);
This will call KeypressHandler's handleEvent(aEvent) method. Check
for the appropriate keyCode and do aEvent.preventDefault()
aEvent.stopPropagation().
HTH
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
-----
Thomas Comiotto
[EMAIL PROTECTED]
Universitaet Zuerich
Informatikdienste Tel: +41 44
63 54541
Winterthurerstrasse 190 +41 44
63 43333
CH-8057 Zuerich Fax: +41 44
63 54505
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]