Navigate to slides from pop-up in Map Journal

1434
1
04-28-2016 11:19 AM
BrendanCleary
New Contributor

I am trying to use the HTML Code to navigate between sections in my Map Journal using text in the pop-ups.

When I enter the code into the custom attribute display source editor, the text seems to be linked but the link does nothing. Is there a way to navigate between slides from the Map Journal Pop-ups?

I used this code in the pop-up:

<p><a onclick="require(['dojo/topic'], function(topic){ topic.publish('story-navigate-section', 0); });">Navigate to home section</a></p>

0 Kudos
1 Reply
GregoryL_Azou
Occasional Contributor III

That code only works when added in the Map Journal text editor (using source mode) but not in a map popup.

To have the map popup navigate your Journal, you need some more customization that require to download the application, see the following guide GitHub - Esri/map-journal-storytelling-template-js: The Story Map Journal is ideal when you want to ...

0 Kudos