Then yeah, you need to capture the keypress using javascript. This should do for
you:
http://www.google.com/search?hl=en&q=capture+keypress%2C+javascript



> Guys, he knows about the access keys.  What he is talking about is not
> an access key, you do not have to hit alt with the key, just the key
> itself.  gmail users are used to this within gmail, it allows you to
> hit c and the page changes for you to write an email, inside of an
> email you can hit j or k to go to the next or previous message, etc.
> But there is not alt keypress.
> 
> Again, you are looking for a javascript solution.
> 
> On 6/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Johnny...
> >
> > You're looking for the accesskey attribute.
> >
> > <input type="submit" value="Submit me" accesskey="s">
> >
> > With that in one of your forms you can hit ALT and S and it will submit
> the
> > form.
> >
> > Same goes for a link:
> > <a href="contact.cfm" accesskey="c">contact us</a>
> >
> > Hitting ALT and C will activate the link, taking you to the contact.cfm.
> >
> > Hope that helps.
> >
> > > 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:242343
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