Closed Thread Icon

Preserved Topic: ie onClick image highlight (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18178" title="Pages that link to Preserved Topic: ie onClick image highlight (Page 1 of 1)" rel="nofollow" >Preserved Topic: ie onClick image highlight <span class="small">(Page 1 of 1)</span>\

 
liquidchaos
Nervous Wreck (II) Inmate

From: vt
Insane since: Feb 2002

posted posted 02-23-2002 06:14

i am wondering if anyone knows a way for me to turn off the blue highlight that shows around an image link when you click it using internet explorer?

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 02-23-2002 06:48

In the code on your own page? I think in the IMG tag... just put; border="0"

ShadowImage
Nervous Wreck (II) Inmate

From: Melbourne, Victoria, Australia
Insane since: Mar 2001

posted posted 02-23-2002 07:11

Does it only show up when u click on it? Ur using a MAC right?
If so....
Try this: onfocus="this.blur()" in the IMG tag.



DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 02-23-2002 11:45

Yep, that's the standard, not-so-elegant macintosh IE hack, yep. I use it a lot myself.

Your pal, -doc-

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-23-2002 17:57

This is the global solution (just put it in <HEAD> and modify <BODY ONLOAD=""> ):

<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!-- ;

// Written by mr.maX, http://www.maxworld.co.yu/

function removeFocus() {
&nbsp;&nbsp;&nbsp;&nbsp;for (i = 0; i < document.links.length; i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.links[i].onfocus = document.links[i].blur;
&nbsp;&nbsp;&nbsp;&nbsp;}
}

// -->
</SCRIPT>

<BODY ONLOAD="removeFocus()">

BTW This will also remove focus rectangle that appears when you click on link under Windows OS...


Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 02-23-2002 21:57

One should keep in mind that these tricks make the page virtually unusable for someone who navigates a page with their tab key.

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 02-24-2002 00:03

yah, I do that all the time.

liquidchaos
Nervous Wreck (II) Inmate

From: vt
Insane since: Feb 2002

posted posted 02-25-2002 10:28

thanks a lot for the help

« BackwardsOnwards »

Show Forum Drop Down Menu