[Typo3] anchor tag javascript

Sebastian Roth sebastian.roth at gmail.com
Wed May 11 13:14:10 CEST 2005


Hi,

On 5/11/05, JoH <info at cybercraft.de> wrote:
> The border is only shown with "active" links, which means while
> klicking and it will stay only if the link you clicked on links to the
> same page. The first one doesn't really matter, since it will be
> shown just for milliseconds thus doesn't "break" the design.

What about slow PCs with a modem connection where the page stays for a
while? The link will also have an persistent border when using
navigation frames (eek!), btw.

> The second one usually happens only when using anchors and 
> "inpage" menus. So for a big percentage of the TYPO3 based sites
> the anchor Tag will never be used.

ok.

> You can simply remove it with this line:
>
> tt_content.stdWrap.dataWrap >

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.

seb.



More information about the TYPO3-english mailing list