Navto #anchors in HTML Articles?

Avatar

Avatar

TommyDAQ-Bates

Avatar

TommyDAQ-Bates

TommyDAQ-Bates

11-04-2016

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

TommyDAQ-Bates

Avatar

TommyDAQ-Bates

TommyDAQ-Bates

11-04-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!

Answers (1)

Answers (1)

Avatar

Avatar

jerwarren

Avatar

jerwarren

jerwarren

12-04-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?