Navto #anchors in HTML Articles? | Community
Skip to main content
TommyDAQ-Bates
Level 6
April 11, 2016
Solved

Navto #anchors in HTML Articles?

  • April 11, 2016
  • 2 replies
  • 2235 views

Is it possible to navigate to anchors within HTML based articles with a navto command?

For example: within a given article, I can use

<a href="navto://introduction"> Intro Link </a>

to navigate to the Introduction Article within my AEM Mobile project.

However, If I wanted to jump to a certain section within that article, one would think
<a href="navto://introduction#anchor"> Intro - Anchor Link </a>

would successfully jump to the #anchor tag within the Intro Article. But this doesn't seem to be working. Can anyone clarify if/that #anchor links do not work within the navto command?

Thank you,

Tommy D'Aquino

Bates Creative

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by TommyDAQ-Bates

I've determined that the unsuccessful nature of the #anchor link was unique to the article I was dealing with. The linking as described in my previous post appears to work fine under normal circumstances. Thank you!

2 replies

TommyDAQ-Bates
TommyDAQ-BatesAuthorAccepted solution
Level 6
April 11, 2016

I've determined that the unsuccessful nature of the #anchor link was unique to the article I was dealing with. The linking as described in my previous post appears to work fine under normal circumstances. Thank you!

jerwarren
Level 2
April 12, 2016

Can you be more specific?  It's been a while since I tried this, but I, too, have wished for anchors on navto: links.  Can you describe what you were doing that didn't work and what did?