Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q260 When clicked, Internet Explorer puts a selection rectangle around an image link that stays there even after the script finishes. How can I get rid of it?

irt.org | Knowledge Base | JavaScript | Link | Q260 [ previous next ]

Q260 When clicked, Internet Explorer puts a selection rectangle around an image link that stays there even after the script finishes. How can I get rid of it?

<script language="JavaScript"><!--
function defocus(x) {
    if (navigator.appName == 'Microsoft Internet Explorer' || document.all)
        x.blur();
}
//--></script>

<a href="#" onClick="defocus(this)"><img src="picture.gif" border="0" width="16" height="16"></a>

Feedback on 'Q260 When clicked, Internet Explorer puts a selection rectangle around an image link that stays there even after the script finishes. How can I get rid of it?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.