내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Navigating to a different HTML page within the same article file

Avatar

Level 2

Hi all,

Is it possible to navigate to a different HTML page that is contained within the same article file? E.g. index.html contains an <a> tag that has a href pointing to page2.html? This seems to work in the Preflight app in iOS but not in Windows. Currently, I am using relative links, e.g.

<a href="page2.html">Page 2</a>

Should I be using a different syntax? E.g.

<a href="navto://page2.html">Page 2</a>

Thanks,

Frank

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 2

I found the solution. Use JS instead. windows.location.href appears to work for both ios and windows.

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Level 2

I found the solution. Use JS instead. windows.location.href appears to work for both ios and windows.

Avatar

Level 1

Hi!
I'm interested in your solution. What did you exactly do?

Avatar

Level 2

You'll have to write some JavaScript to get it working on iOS and Windows. For example:

<a onclick="window.location.href = 'page2.html'">Click me</a>

Avatar

Level 1

Great! Thank you so much