External Javascript Function

Hi everyone,

I’m new to Tumult Hype and was wondering if it was possible to invoke a javascript function that lives outside of the Tumult Hype document.

The Hype document is embedded in a website. The website has a function called modalbox. Is it possible to call this function from the Hype document?

function parentfunction (hypeDocument, element, event) {

function modalbox ( )


Thanks in advance!

Huh, Just posted something similar .

But you should simply be able to call the function directly from Hype if it is in the external head. i.e. in the external html head. you have :

function modalbox ( ){

// your code..


And in a Hype function you just make the call to it.

modalbox ( )


Thanks for your help Mark! Really appreciate it

1 Like