  | |  Re: [Flashcoders] Please help! trapping keyboard combo on Mac
OSX | Re: [Flashcoders] Please help! trapping keyboard combo on Mac
OSX
2004-02-21 - By franz metz
Back Maybe the keycode on the mac is different,
i would try to track:
1 ctrl works?
2 keycode for 8key?
3 now both together paleeze.
Franz
At 11:39 20/02/2004 -0600, you wrote:
>I am literally about to throw my mac across the room. I have a function
>that should fire when the user has typed CTRL+8 on the keyboard. This
>works perfectly on the PC, however, I cannot get it to fire on Mac in any
>web browser. I need to have this work in Mozilla and firefox on the Mac.
>
>If anyone has any suggestions, please help. I 'm running out of time...
>
>Here 's the function I am using,
>
>window.document.onkeydown = checkHandles;
>
>function
>checkHandles(e){e=e||window.event;if((e.ctrlKey)&&(e.keyCode==56)){alert( "yes.
>Thank goodness it worked!!! ")}}
>
>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
>Say "good-bye " to spam, viruses and pop-ups with MSN Premium -- free trial
>offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/
>
>
>=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>Supported by Fig Leaf Software
>=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>Be sure to check the archives and the wiki:
>http://chattyfig.figleaf.com/
>=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104861
>=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>To unsubscribe send a blank e-mail to: Normal Mode:
>flashcoders-unsubscribe@(protected)
>Digest Mode: flashcoders-digest-unsubscrive@(protected)
............................................
Franz Metz
Interaktive Gestaltung
franzmetz@(protected)
0173 99 148 28
030 4405 95 37
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104897
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |