This works for forrest document format:
  <section id="my_anchor">
I don't know for HTML input, though.

Have you tried <h2 id="my_anchor">?


Johannes



Ferdinand Soethe wrote:
During some involuntary testing of treatment of local anchors in
HTML-pages I found a rather unnerving 'feature'.

If a local anchor like

<h2><a name="myanchorID">My visible headline</a></h2>

is processed by Forrests default treatment, the anchor is
'disappeared' and replaced by the following code:

<a name="N10016"></a><a name="My+visible+headline"></a>
<h3 class="boxed">My visible headline</h3>

This is no problem for Forrest internally as it uses its new
self-generated anchors, but it is if you have other pages referencing
this section by using the original anchor name.

And unless your page is really static, you cannot even use the new
anchors to reference this section as the

- numeric anchor will change each time the structure of your page
  changes while

- the text based anchor depends on the text of your heading (which
  might change as well).

My question: Could transformation not preserve existing anchors in
an html-page and - in case of conflict - adjust its autogenerated
anchors to avoid the conflict.

--
Ferdinand Soethe





--
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax +49 (0)7141 377 00-99
Gesch�ftsstelle: User Interface Design GmbH * Lehrer-G�tz-Weg 11 * D-81825 M�nchen
www.uidesign.de


Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de


Besuchen Sie uns auf der Hannover Messe 11.-15. April 2005
Halle 2, Stand C14 auf dem MMI Gemeinschaftsstand
www.uidesign.de/hmi2005

N�chstes TAE-Seminar zu User Interface Design
Ostfildern-Nellingen, 07.-08. April 2005
www.tae.de TAE-Veranstaltung Nr. 31189

Reply via email to