Firing script after Justuno has loaded

How to fire a script after the Justuno promotion has loaded to your website

Some customers would like to ensure that specific JS is firing AFTER Justuno is completely loaded since our pop-ups load in an iFrame. To load a specific script after Justuno has initiated you have two options:

1) Our widget will call the following global function if it exists “ju_init()"

2) There is a global variable that will = true once initialized “ju_initialized"

For example:

function ju_init(){

//do your stuff

}

Visit Justuno @ Justuno.com