Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   Phantom focus (http://www.velocityreviews.com/forums/t923715-phantom-focus.html)

lanepollock@gmail.com 03-21-2006 07:03 PM

Phantom focus
 
I'm creating a page where I would like to use a combination of tabbing,
tabindex, and focus as the only means of navigation. Everything works
fine except as I tab through the elements of the page (in this case
it's only <a> tags) the browser wants to set focus to other elements,
e.g., the address bar, the entire window, etc.

I've been able to turn off toolbars and set the browser in full screen
mode to solve all of these undesirable focuses except one...which
appears to be the entire window. In IE (6) it appears that nothing has
the focus, but in Firefox (1.5) you can can see the faint dotted line
around the outside of the entire window.

My end goal is to eliminate this behavior. Is there a way to capture
this "phantom focus" event? I've tried with "window.onfocus" and
"document.onfocus" and "window.document.onfocus", etc. Any help is
appreciated...thanks!



All times are GMT. The time now is 08:38 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.