I could, if it made a difference. 'onkeydown' doesn't fire if only a  
modfier key is pressed. This is exactly my problem.

TIA


On Sep 6, 2006, at 4:32 PM, Beau Hartshorne wrote:

> 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 mochikit@googlegroups.com
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