Problem with Javascript triger

Jun 23, 2015

Hi,
I am using button in my course. I have applied state hidden base on variable. On desktop the state show as expected but on ipad(using brower) the state is not show even though I know that the variable has been changed. I'm using Javascript to push infomation into Storyline variables.
Thanks,

5 Replies
Jackson Hamner

If the only JavaScript you will use on that page is:

var player = GetPlayer();
player.SetVar('da_xac_nhan',true);

You can do the same thing without the JavaScript with a trigger like this:

And it should work okay on mobile devices. I think that using JavaScript with mobile devices can sometimes cause issues with trying to run the course on the mobiles.

Does JavaScript work in other places in your course when being viewed in an iPad browser?

This discussion is closed. You can start a new discussion or contact Articulate Support.