Allow me to start the question with clearer formulation and code again.
To @JSWolf
Now we speak about an general coding question!
Files Browser Title A & Title B are chapters with headers in <h2> tags. Each chapter includes one
second title Aa and one
subtitle SubtitleAa (respective Bb & SubtitleBb) in <h2> resp. <h3> tags.
Chapter Title A would look like:
Code:
<body>
<h2 id="auto1Gen1Code1">Title A</h2>
<p>Introducing text</p>
<h2 id="auto2Gen2Code2">Aa</h2>
<p>Some text</p>
<h3 id="auto3Gen3Code3">SubtitleAa</h3>
<p>More text</p>
<h2 id="auto4Gen4Code4">End</h2>
<p>Closing phrase</p>
<body>
Question: In ereader: How I jump back from header Aa or SubtitleAa to
a) Content or
b) to the respective entry there?
(We don't speak about the auto-generated ToC.)
Quote:
Originally Posted by Turtle91
|
To allow for all possibilities: <hx id=...> instead of <a id=...> !
Quote:
Originally Posted by DaleDe
... while the id generated inside the href statement was probably generated to allow for a return link to allow you to return after the jump.
|
Exactly!
I think now I have expressed myself clearly.