On 6-Sep-06, at 1:43 PM, Juergen Schreck wrote:

> Is there a [crossbrowser (FF,IE,Safari) ] way to capture modifiers
> instantly, rather than via onkeypress? In my application I'd like to
> capture when alt was pressed during a mousedrag. This works of course
> as soon as the mouse is moved 'after' the key was pressed. But assume
> the mouse was not moving and the alt key was pressed. Is there a way
> to capture that?

Could you set up a separate onkeydown handler that looks for the alt  
key?

Beau

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to