They are done with javascript, you will have to create an event
listener to listen for the keystroke and check to see what has focus,
if nothing has focus on the page or if nothing that matters has focus
then apply the action.

But you want to make sure the user does not have a text field focused
or the user could hit a C meaning to type it in and you change the
screen on them.

On 6/4/06, Johnny Le <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Do you know how to create gmail-like keyboard shortcuts? I mean I know how to 
> create shortcuts with Alt+..., but I don't know how to create shortcuts with 
> one letter like "C" for compose.  I searched google for "create shortcuts for 
> website" but I got nothing.
>
> Johnny
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242326
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to