Forum Discussion
ahmadhabhab
5 years agoCommunity Member
Removing objects if I watch my project on a different device
Hey Guys,
I am working on an E-Learning project on Storyline 360, there is an object that i want removed or hidden if i switched device, for example i want a specific icon to be displayed only in...
ahmadhabhab
5 years agoCommunity Member
How do i connect this Java script to a variable ?
- RussellKillips-5 years agoCommunity Member
I usually default my variables false.
The javascript trigger executes on timeline start. I suggest moving this to the master slide so it will run on every slide in your project.
You will only need to reference the isDesktop variable. If it is false, it's on a mobile. If it is true, it's on a desktop.
Then on timeline start for your objects, create triggers to show or hide them.
I have attached a short video and a story file for you to look at.
- ahmadhabhab5 years agoCommunity Member
Hello Russel,
It worked for me perfectly.
Thanks for your help.
Regards,
Related Content
- 10 months ago
- 5 months ago