...

View Full Version : links outlined) remove



craig
07-21-2002, 09: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-22-2002, 12:22 AM
<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-22-2002, 12:23 AM
Cross-posted here -- http://www.codingforums.com/showthread.php?s=&threadid=2440

PLEASE POST YOUR QUERY ONLY ONCE...in whichever forum sounds the best.

jkd
07-22-2002, 01:02 AM
I'll close this thread...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum