I am creating a webpage that showcases an introduction animation on another site. How could I make a button load or refresh a website within an html widget on mouse click, so that the user can see the website animation from start to finish?
example.zip (15.3 KB)
Here’s how you’d do it:
"myWidget"
var iframeElement = hypeDocument.getElementById("myWidget").getElementsByTagName("iframe")[0]; iframeElement.src = iframeElement.src;
example-fixed.hype.zip (8.9 KB)
great, much appreciated