Forum Moderators: open

Message Too Old, No Replies

Anchor tags using name attribute to specify a destination

Is there a limitation to the number of such tags in one document?

         

Go2

9:25 pm on Jan 29, 2003 (gmt 0)

10+ Year Member



I use an anchor tag to specify a destination in a document, for example:


<a name="foo"></a>

I create an internal link to the anchor as:


<a href="#foo">Read more about Foo here</a>

In an application involving a single large html document containing hundreds of such internal links I have found that IE6 only supports such internal links up to a certain point. If the number of internal links goes up in the hundreds the links at the end of the document cease to work, i.e. nothing happens when you click on them. I don't get any error messages from IE6, in fact I don't get any messages at all.

Has anyone run into this before?

fathom

10:36 pm on Jan 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can't say I have seen the same thing but a document that has 100 "on page" anchors seems really long and not focused on individuals users.

Why not link to a new page, or pop-up mini pages.

Web pages lose usability if longer than 2 (two) printable pages, breadcrumbs are more effective than "a name" anchors.

Go2

6:53 am on Jan 30, 2003 (gmt 0)

10+ Year Member



Can't say I have seen the same thing but a document that has 100 "on page" anchors seems really long and not focused on individuals users.

I agree. However, in this case the file is a log file displaying the results of a "system run" and it is for admin eyes only. It would have been convenient for handling purposes to contain all results in one file but if there is no solution to this problem I have to split the file into smaller pieces as you are suggesting...

fathom

8:00 am on Jan 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ok your clarification helps... print doc rather than display online.

No one (even admin use) is going to find this useful. Web pages though a monitor must be scan-able.

If printing is not feasible then develop this as a PDF or Word Doc where anchors can still be applied but is now application based controlled rather than browser controlled.