javascript - Why this handler is not restricted to CTRL+L? -
i have xbl handler following signature:
<handler event="keypress" modifiers="control" keycode="dom_vk_l"> as see, should fired when user press ctrl+l. but, reason, fires when user press ctrl+.
why? , how make work exclusively ctrl+l?
there's no such attribute keycode in current standard.
if meant implementation, not follow standard, should mention in question text.
and if speak mozilla xbl1.0, need use 1 followings:
<handler event="keyup" modifiers="control" keycode="dom_vk_l"> <handler event="keypress" modifiers="control" charcode="108"> 108 ascii code small l.
Comments
Post a Comment