Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: Map button ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 11 Topic 35558 of 37484
Post > Topic >>

Re: Map button on form to key on keyboard

by Steve Swift <Steve.J.Swift@[EMAIL PROTECTED] > May 11, 2008 at 07:27 AM

Thomas 'PointedEars' Lahn wrote:
> Yes.  However, in order to avoid messing with the user agents expected
> behavior, this should be done with simple HTML only:
> 
>   <input type="submit" value="OK" accesskey="o">

I've started using this (mostly for my own benefit; it would 
surprise/please me if anyone else had found the capability on any of my 
pages).

I recommend two associated changes:

1. Keep records of what accesskeys you use across your pages, so buttons 
with the same effect use the same key as far as possible. I would be 
most upset to be using a series of "F" keys to go Forward only to 
suddenly find that it meant "Format" on my last press.

2. Consider changing to <BUTTON TYPE=SUBMIT> because then you can 
specify the label on your "OK" button as <U>O</U>K to give a visual clue 
which key to use. **Beware of daft IE implementation though**

-- 
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
 




 11 Posts in Topic:
Map button on form to key on keyboard
MikeB <MPBrede@[EMAIL   2008-05-10 09:35:54 
Re: Map button on form to key on keyboard
"Evertjan." <  2008-05-10 18:09:38 
Re: Map button on form to key on keyboard
MikeB <MPBrede@[EMAIL   2008-05-10 13:37:45 
Re: Map button on form to key on keyboard
"Evertjan." <  2008-05-11 10:06:30 
Re: Map button on form to key on keyboard
Matthias Watermann <li  2008-05-11 14:30:52 
Re: Map button on form to key on keyboard
"Evertjan." <  2008-05-11 14:39:38 
Re: Map button on form to key on keyboard
Matthias Watermann <li  2008-05-11 18:28:36 
Re: Map button on form to key on keyboard
Thomas 'PointedEars' Lahn  2008-05-10 22:56:53 
Re: Map button on form to key on keyboard
Steve Swift <Steve.J.S  2008-05-11 07:27:56 
Re: Map button on form to key on keyboard
MikeB <MPBrede@[EMAIL   2008-05-10 14:20:48 
Re: Map button on form to key on keyboard
Mervyn Carter <Mervyn@  2008-05-11 09:35:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 17:06:13 CST 2008.