Stuart wrote:
"Thomas 'PointedEars' Lahn" <Po*********@web.de> wrote [...] Stuart wrote: "Thomas 'PointedEars' Lahn"
Well, you crippling your own keyboard navigation deliberately certainly
strikes me as being an issue ...
What navigation is there to do on that page other than scroll through
the images? Personally I can,t think of a better way of viewing these
images than to use the cursor keys!
Read again. With blur() you are _preventing_ yourself from using the
cursor keys again (or require yourself to tab back). You are looking
for focus()ing another control onclick or for another UI approach.
[...]
I have never suggested blurring anything
True, however
,-[news:11*********************@g44g2000cwa.googlegro ups.com]
| You can use the blur method.
,-[news:43***********************@per-qv1-newsreader-01.iinet.net.au]
| > How do I take focus away from the radio buttons after they have been
| > clicked ?
| Not everyone navigates with a mouse, or even has a mouse.
But, with the "page in question" you provided, the logical design
choice is indeed either to use the blur() method of the radio button
on click. I quick-tested that with
javascript
:alert(document.getElementsByName("int")[0].onclick=function()
{ this.blur(); })
and
javascript
:alert(document.getElementsByName("int")[1].onclick=function()
{ this.blur(); })
However, this way users (you) will have to tab-navigate back to the
radio button and can only do one change with the up/down keys.
So you might want to consider the alternative of providing Left/Right
buttons for navigation that gain focus after a selection, applying the
focus() method on the respective element object. The cursor keys can
still be used to trigger either button, so no functionality would be
lost or duplicated.
But please, stop abusing tables and start using forms properly; there
is the `fieldset' element which you can also use for handling the
bubbling `click' event. Valid markup would be an advantage, too.
<URL:http://validator.w3.org/>
And, last but not least, you might want to consider using an existing
sender address as you will receive no more help from me otherwise, not
considering that you are already running the risk of losing your account
anyway.
<URL:http://www.interhack.net/pubs/munging-harmful/>
<URL:http://www.cw.com/legal/acceptable_use_policy.html>
HTH
PointedEars