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,
Unfortunately since we do not support JavaScript, I am not able to assist here. i wanted to welcome you to the community and hopefully one of our community members who are efficient with JavaScript can jump in to assist.
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?
I think that using JavaScript with mobile devices can sometimes cause issues with trying to run the course on the mobiles. But I must using Javascript because my course have connect with database via ajax.
5 Replies
Hi Pham,
Unfortunately since we do not support JavaScript, I am not able to assist here. i wanted to welcome you to the community and hopefully one of our community members who are efficient with JavaScript can jump in to assist.
If the only JavaScript you will use on that page is:
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?
Thank you,
I think that using JavaScript with mobile devices can sometimes cause issues with trying to run the course on the mobiles. But I must using Javascript because my course have connect with database via ajax.
Thank you!
Good luck with your project Pham :)
This discussion is closed. You can start a new discussion or contact Articulate Support.