[thelist] Re: IE dots (yet again)
Aylard JA (James)
jaylard at equilon.com
Mon Jun 19 20:30:52 2000
George Dillon wrote:
> Surely if the dot-defeating function is applied from an
> onclick event on a hyperlink it's not going to interfere with keyboard
> navigation of that page. The problems come with applying blurring
> functions with onmouseover/onfocus events or onclick events which are
> not hyperlinks.
You would think so, but the odd truth is that pressing the enter key
in IE when a form control or a hyperlink has the focus does, in fact, fire
the onclick event, as well. The keyboard focus disappears from the object
that was clicked and returns to the starting position for the page.
Depending on the application, this could be very confusing.
There is an as-yet unimplemented CSS2 property named "outline" and
an also as yet unimplemented pseudoclass called ":focus" that will, when
implemented, allow you to eliminate (or alter) the dotted line. I have used
the blur() method in the past to get rid of the dotted line, but I've since
decided that the cure is worse than the disease; instead I'll just wait for
the "outline" property to be implemented. YMMV.
James Aylard
mailto:jaylard@equilon.com