Help with this.Blur() in IE

AndyB's picture

They have: 344 posts

Joined: Aug 1999

URL below is test code for mouseovers in a framed page where the clicked link changes and once the clicked link page is displayed, the mouseOver on THAT link is inhibited.
http://webhome.idirect.com/~bowers/testing/begin.htm

What I need to know is how to get rid of the dotted outline after an image is clicked. Can someone check the code in the menuframe (LH side) and offer specific advice as to how to implement this.Blur() - assuming that's the correct way to get rid of the dotted outline.

For 'bonus points' how can I add the code to get rid of the dotted outline AND avoid an error caused by Netscape that does not support this.

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I didn't think that it was possible to remove that outline... but it seems that could be the right idea.

If anyone knows for sure, please post it for us.

AndyB's picture

They have: 344 posts

Joined: Aug 1999

I was close to the answer ..... the right answer is to remove the focus from the clicked image by adding this inside the href tag

onclick="window.focus()"

Netscape never showed the dotted outline, but IE always did. To see the window.focus thing in action, use IE and visit again to
http://webhome.idirect.com/~bowers/testing/begin.htm

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Thanks Andy, I'll check it out. Glad to see you found an answer, it's something I can use too..at least to answer some emails I got about it.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.