[Typo3] anchor tag javascript

JoH info at cybercraft.de
Wed May 11 13:27:16 CEST 2005


> Basically, i agree. But what about optimizing the current method of
> adding the blurLink function to the document to make it lesser
> annoying? :)
> Instead of setting onfocus="blurLink(this);" for each <a> by hand,
> imho there could also be an startup function which iterates through
> all <a>'s and sets the attribute.

AFAIK this is done automatically. No need to add it "by hand".
BTW: In times of accessibility-hypes you should keep in mind that blurring
the focus via JS will make "mouseless" browsing pretty hard.

A nice CSS based solution:

a:active {
    border: none;
}

Will keep the focus and still remove the IE-focus-box.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list