Internal links in HTML object
Posted: Sun Jul 18, 2021 5:10 am
Hi Brains Trust,
I'm seeing some strange behaviour and I'm hoping someone can please spot what I'm doing wrong.
I have a HTML object on a form, and I want to have internal hyperlinks to jump you to different areas of the page (it's a big long document, so I'm effectively creating a table of contents). Near the top I have:
Then in the relevant spots I have:
But when I click the links, it takes me to the previous page in the browser, rather than jumping to the right spot on the current page.
Any ideas what I'm doing wrong? Thanks in advance.
I'm seeing some strange behaviour and I'm hoping someone can please spot what I'm doing wrong.
I have a HTML object on a form, and I want to have internal hyperlinks to jump you to different areas of the page (it's a big long document, so I'm effectively creating a table of contents). Near the top I have:
Code: Select all
<ol>
<li><a href="#planning">Planning</a></li>
<ul>
<li><a href="#planningteam"> Organise your team</a></li>
<li><a href="#planningequipment"> Organise your equipment</a></li>
</ul>
</ol>
Code: Select all
<h1><a name="planning"></a>Planning</h1>
<h2><a name="planningteam"></a>Organise your team</h2>
Any ideas what I'm doing wrong? Thanks in advance.