On Sat, 20 Dec 2003 11:53:28 +0100, Martin Honnen <ma*******@yahoo.de> wrote:
When I load the page with Netscape 7.1 then indeed there is a dotted
line around the first link, but when I hit enter on the keyboard the
link is not followed thus I think the blur() call works as far as
ensuring that the link doesn't have focus, only Mozilla seems to have a
bug to remove the dotted focus outline.
Hmm, that's an interesting observation. I had thought that the blur() call
wasn't doing anything. I fixed this particular problem by making an
additional call to blur(), before the other calls. So instead of having:
element.focus();
element.blur();
I now have:
element.blur();
element.focus();
element.blur();
Now Mozilla doesn't have the dotted line anymore, and I had thought it was
because only the first call to blur() did anything while the subsequent calls
to focus() and blur() didn't do anything. But from what you say, that may not
be the case. Well, whatever, I have it working, that's all that matters. :-)