Closed Thread Icon

Preserved Topic: Getting rid of the...... Pages that link to <a href="https://ozoneasylum.com/backlink?for=18177" title="Pages that link to Preserved Topic: Getting rid of the......" rel="nofollow" >Preserved Topic: Getting rid of the......\

 
Author Thread
Xcessive Force
Paranoid (IV) Inmate

From: The Trustee Tank
Insane since: Nov 2000

posted posted 08-09-2001 06:22

Dotted box that appears around an image after it is clicked. I have seen this code before but am unable to find it or even remember how to write it. I know it was simple and I have used it in the past.

If ya know it please post it.

Thanx



[This message has been edited by Xcessive Force (edited 08-09-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-09-2001 07:36

<A HREF="" ONCLICK="this.blur()"></A>

You can also find the global solution (so that you don't have to edit all <A> tags) that I wrote here: http://www.ozoneasylum.com/Archives/Archive-000003/HTML/20010305-2-000355.html


Xcessive Force
Paranoid (IV) Inmate

From: The Trustee Tank
Insane since: Nov 2000

posted posted 08-09-2001 07:44

Thanx Max, much appriciated.

galaxal
Paranoid (IV) Inmate

From:
Insane since: Oct 2000

posted posted 08-09-2001 11:27

if you have alot of stuff (maybe the whole page) of links that you want the dotted box to go away when clicked, adding that onclick attribute to every <a> tag would be too rediculous.

try this
<script>
function disfocus(){
document.activeElement.blur();
}

document.onclick=disfocus;
</script>
give me a few minutes and I coulda extend this to Netscape-Compatible, but I don't feel like wasting my time on that. (not that I don't want to help you)


by the way, is it a personal freedom to choose if one should be able to see a caret in their browser on their own computer?
if they don't want to see it, or if youdon't want to see it, you can go to internet options and take it off with ONE click.


[This message has been edited by galaxal (edited 08-09-2001).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-09-2001 14:25

Sometimes I use

<a href="..." onFocus="this.blur();">

onFocus instead of onClick. But then that messes things up if they're trying to use their keyboard to navigate around your page with the tab button.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-09-2001 19:15

Galaxal, I've already created a global script that works in IE & Mozilla. Just take a look at the link that I've posted...

« BackwardsOnwards »

Show Forum Drop Down Menu