Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Navto #anchors in HTML Articles?

TommyDAQ-Bates
Level 6
Level 6

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

1 Accepted Solution
TommyDAQ-Bates
Correct answer by
Level 6
Level 6

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!

View solution in original post

2 Replies
TommyDAQ-Bates
Correct answer by
Level 6
Level 6

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!

View solution in original post

jerwarren
Level 2
Level 2

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?