Forum Moderators: open
This and many other handy Javascript snippets can be found here:
Handy, Generic Javascript Code [webmasterworld.com]
A common question these days is "How do I disable the dotted box that appears around a clickable image in Microsoft Internet Explorer when it's selected?" Well, there's a "kludgy" way of disabling this, by putting in a JavaScript "onFocus" event that calls the "blur()" function to remove focus from the current object; but there are a lot of users who will be annoyed if you do this. The dotted box is an accessibility feature added by Microsoft to permit the browser to be used entirely from a keyboard without using the mouse. Some users prefer to surf this way, or have handicaps that make mouse-based navigation difficult or impossible. If you use JavaScript to defeat this feature, the users who want or need to navigate by keyboard will be compelled to disable JavaScript to use your site.
More about "How Do I Force...?" [webtips.dantobias.com] requests.
<A HREF=MyDocument.html><IMG SRC=linkImage.gif></A>
<A HREF=MyDocument.html><IMG SRC=linkImage.gif BORDER=0></A>