I was wondering if anyone has a "Links On This Page" snippet.
That is, a snippet that reads through the content of a page and builds a list of the anchor tags with id attributes on the page. That is tags of the form:
<a id="xxxx" title="Link A"></a>
It would then use the id and title attributes to output a list of links where each link took the form:
<a href="#xxxx">Link A</a>
That is, build a "Links On This Page" list of links automatically.
It would be such a useful thing to have. I wouldn't know where to begin to write such a snippet. I'm hoping someone else may have already done it.
Best Regards, Lloyd.











