View Full Version : links outlined) remove
craig
07-21-2002, 08:58 PM
How can I remove the dottted outline surrounding my image links in IE after they have been clicked or mousedown(ed)?
see site.
proamrodeo.com (www.proamrodeo.com)
doesn't happen in netscape 4
Tried using text decoration:o
Quiet Storm
07-21-2002, 11:22 PM
<BODY onLoad="blurLinks();">
...all your content here...
<script language="javascript">
<!--//
function blurLinks() {
if(document.links) {
for(i=0;i<document.links.length;i++) {
document.links[i].onfocus=function(){this.blur();}}}}
document.onmousedown=blurLinks
//-->
</script>
</BODY></HTML>
Gordo
07-21-2002, 11:23 PM
Cross-posted here -- http://www.codingforums.com/showthread.php?s=&threadid=2440
PLEASE POST YOUR QUERY ONLY ONCE...in whichever forum sounds the best.
I'll close this thread...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.