Link a Hype document from another Hype document (embedded as an iframe)

(Kimmo Turtiainen) #1

I would like to embed hypedoc so that clicking documents hype button another hypedoc opens in same iframe. Any solutions?


The way you create a link to open within the same frame is by using a ‘target’ attribute. So if you were linking a piece of text, you would use:

<a href="" target="_self">linked text</a>

If you wanted to create a ‘mouse click action’ within Hype, you would use a simple line of code within Hype’s JavaScript editor:"", target="_self");

Now, if you want to link directly to a scene in that other document, you would use this technique: Linking to a specific scene from inside and outside of a Tumult Hype document