Subj : Where is the focus? (space key document navigation)
To : netscape.public.mozilla.jseng
From : oliver-thomas@firemail.de (Oliver Thomas)
Date : Sat May 10 2003 09:13 am
Hello @ netscape.public.mozilla.jseng!
Now, you can browse through an HTML document page by page,
screen by screeen with the space key.
After processing a button-event with JS, whereto do I
have to set the focus, so that I can continue to browse
with the space key afterwards?
Testcase a:
--> Focus remains on the button after click.
Testcase b:
--> Focus blurs from button after click, but the space bar
navigation doesn't work afterwards.
Testcase c:
--> The focus remains on the button, if you press the space bar,
a 2nd onClick-event will be triggered. :((
Thanks for your help!
.