JAVASCRIPT for IPAD AND DESKTOP

Jun 08, 2015

In SL, is there any code to check the device and execute JavaScript accordingly.

Example:

if (ipad) 

{

alert('ipad')

}else{

alert('desktop')

}

4 Replies
Ashley Terwilliger-Pollard

Hi Senthil,

I haven't seen anything in regards to Javascript that would check which device the user was access the course from - but if the community has created anything hopefully they're able to share here. 

If you've published for the mobile player and HTML5, Storyline will determine what version of their content to show based on how the user accesses it as described here. 

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