Subj : Re: Where is the focus? (space key document navigation) To : netscape.public.mozilla.jseng,netscape.public.mozilla.dom From : =?ISO-8859-1?Q?Georg_Maa=DF?= Date : Sat May 10 2003 08:03 pm Oliver Thomas wrote: > 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! Wrong news group! FUP & XPOST -- Georg Maaß - bioshop.de D-93466 Chamerau, Roßbergweg 42 JavaScript, C++ Engineering - The ultimative DHTML engine: http://gml-modul.sourceforge.net - http://sourceforge.net/projects/gml-modul .