Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > [Q] Javascript to remove dotted rectangles in IE

Reply
Thread Tools

[Q] Javascript to remove dotted rectangles in IE

 
 
Paul Sellis
Guest
Posts: n/a
 
      02-23-2004


How to remove all the dotted rectangles that surround active links in
Internet Explorer (solid blue on Mac).

I can add
onfocus=²blur()²
to every link tag to solve the problem, but which single head action
could do it for all links of a page ?

Thanks
 
Reply With Quote
 
 
 
 
Paul Furman
Guest
Posts: n/a
 
      02-23-2004
Paul Sellis wrote:

>
> How to remove all the dotted rectangles that surround active links in
> Internet Explorer (solid blue on Mac).
>
> I can add
> onfocus=²blur()²
> to every link tag to solve the problem, but which single head action
> could do it for all links of a page ?



Hmmm, I only get that dotted line in Mozilla, not IE. This is when I tab
to a link to make it active or click on it and drag off before releasing
to leave it active.

How would I apply that blur thing to a particular link? Where does it go
in the syntax?

<a href="" onfocus=²blur()²>text</a>

 
Reply With Quote
 
 
 
 
Paul Furman
Guest
Posts: n/a
 
      02-23-2004
Paul Sellis wrote:

>
> How to remove all the dotted rectangles that surround active links in
> Internet Explorer (solid blue on Mac).
>
> I can add
> onfocus=²blur()²
> to every link tag to solve the problem, but which single head action
> could do it for all links of a page ?
>
> Thanks



This removes the active color but not just dotted line in mozilla:
<a onfocus="blur()" href="">text</a>


 
Reply With Quote
 
Paul Furman
Guest
Posts: n/a
 
      02-23-2004
Paul Furman wrote:

> Paul Sellis wrote:
>
>>
>> How to remove all the dotted rectangles that surround active links in
>> Internet Explorer (solid blue on Mac).
>>
>> I can add onfocus=²blur()² to every link tag to solve the problem, but
>> which single head action could do it for all links of a page ?

>
>
>
> Hmmm, I only get that dotted line in Mozilla, not IE. This is when I tab
> to a link to make it active or click on it and drag off before releasing
> to leave it active.
>
> How would I apply that blur thing to a particular link? Where does it go
> in the syntax?
>
> <a href="" onfocus=²blur()²>text</a>



This removes the focus not just the dotted line in mozilla:
<a onfocus="blur()" href="">text</a>

 
Reply With Quote
 
Paul Furman
Guest
Posts: n/a
 
      02-23-2004
Paul Furman wrote:

> Paul Sellis wrote:
>
>>
>> How to remove all the dotted rectangles that surround active links in
>> Internet Explorer (solid blue on Mac).
>>
>> I can add onfocus=²blur()² to every link tag to solve the problem, but
>> which single head action could do it for all links of a page ?

>
>
>
> Hmmm, I only get that dotted line in Mozilla, not IE. This is when I tab
> to a link to make it active or click on it and drag off before releasing
> to leave it active.
>
> How would I apply that blur thing to a particular link? Where does it go
> in the syntax?
>
> <a href="" onfocus=²blur()²>text</a>




This removes the focus not just the dotted line in mozilla & IE:
<a onfocus="blur()" href="">text</a>

 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      02-23-2004
Paul Sellis <> wrote:

> How to remove all the dotted rectangles that surround active links
> in Internet Explorer (solid blue on Mac).


Don't. They are more useful than you think.

> I can add
> onfocus=²blur()²


Really? I don't think superscript 2 is a valid surrogate for a
quotation mark. It seems that you need to fix your newsreader, or get
one.

> to every link tag to solve the problem,


You misspelled "create problems". Not only would that do the harmful
thing you want in some browsing situations - it would also do its
defined job of preventing focusing, hence creating a discriminating
barrier to all people (millions here on Earth) who cannot use a mouse
but need to tab.

If you really, really must remove the useful focus indicator, at least
use the Microsoft invention, the hidefocus attribute, which does no
other harm than removing the focus indicator on IE.

> but which single head
> action could do it for all links of a page ?


None, thank &Deity;.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
Safalra
Guest
Posts: n/a
 
      02-23-2004
Paul Sellis <> wrote in message news:<paul.sellis->...
> How to remove all the dotted rectangles that surround active links in
> Internet Explorer (solid blue on Mac).


See:

http://www.safalra.com/hypertext/html/activedots.html

(Note the accessibility problems it causes though, explained further down the page.)

--- Safalra (Stepehen Morley) ---
http://www.safalra.com/hypertext/
 
Reply With Quote
 
John McGaw
Guest
Posts: n/a
 
      02-23-2004
"Jukka K. Korpela" <> wrote in message
news:Xns9498C30256D68jkorpelacstutfi@193.229.0.31. ..
> Paul Sellis <> wrote:

snip...
> > I can add
> > onfocus=²blur()²

>
> Really? I don't think superscript 2 is a valid surrogate for a
> quotation mark. It seems that you need to fix your newsreader, or get
> one.

snip...
> --
> Yucca, http://www.cs.tut.fi/~jkorpela/
> Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
>


The superscripted characters are a Mac thing. I don't claim to understand
why but superscripted 1s and 2s and 3s abound in every text submission I get
from a couple of Mac users living aboard a yacht in the Carribean and I
automatically filter now without even thinking about it.
--
John McGaw
[Knoxville, TN, USA]

Return address will not work. Please
reply in group or through my website:
http://johnmcgaw.com


 
Reply With Quote
 
Paul Furman
Guest
Posts: n/a
 
      02-23-2004
Safalra wrote:

> Paul Sellis <> wrote in message news:<paul.sellis->...
>
>>How to remove all the dotted rectangles that surround active links in
>>Internet Explorer (solid blue on Mac).

>
>
> See:
>
> http://www.safalra.com/hypertext/html/activedots.html
>
> (Note the accessibility problems it causes though, explained further down the page.)



Hmm, it didn't work for me. I could have used it on one particular link
but no change in IE6 or Mozilla 1.4

 
Reply With Quote
 
Safalra
Guest
Posts: n/a
 
      02-24-2004
Paul Furman <> wrote in message news:<iZ6cne1QDbFu96fd3czS->...
> Safalra wrote:
> > Paul Sellis <> wrote in message news:<paul.sellis->...
> >>How to remove all the dotted rectangles that surround active links in
> >>Internet Explorer (solid blue on Mac).

> >
> > See:
> >
> > http://www.safalra.com/hypertext/html/activedots.html
> >
> > (Note the accessibility problems it causes though, explained further down the page.)

>
> Hmm, it didn't work for me. I could have used it on one particular link
> but no change in IE6 or Mozilla 1.4


Presumably IE doesn't support the 'outline' property. Drat. Still, the
accessibility issues are still relevant.

--- Safalra (Stephen Morley) ---
http://www.safalra.com/hypertext
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Info on packing regular tree-like structures into rectangles? paddy3118@netscape.net VHDL 2 12-08-2005 07:19 AM
MIDP 1.0: Filled rectangles Michal Pleban Java 0 05-26-2004 10:53 AM
Collision detection with Rectangles Abs Java 4 05-14-2004 07:56 AM
Efficient method for drawing many rectangles. Chuck Dillon Java 4 02-10-2004 05:29 PM
Need advice on implementing drag/drop rectangles in applet Ajay Patil Java 0 12-10-2003 06:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57