Jump to a scene based on the ID of the button

Hah,

I see that this was my original code to get a iFrame to display a scene.

I do not think @jonathan is wrong in the suggestions… and they may be the best route.

But there is an alternative which is to use localStorage to store the button clicked id.

When the button is clicked the id is stored and the page reloaded.
The scene onload will then get the id from the localStorage and use that in the goto scene function.

iFrameMultiScene.hypetemplate.zip (34.8 KB)

To be honest, I was surprised this idea actually worked :grinning:

1 Like