Forum Discussion
DouglasOpicka
4 years agoCommunity Member
Adjusting colors and images using variables
I am trying to customize my courses by changing colors and images based on variables. I am passing the color codes and image names into the course and using javascript to transfer those pieces of i...
BenMcKenna-ba88
4 years agoCommunity Member
Hey Douglas,
As far as modifying elements through the DOM using Javascript, Storyline makes it a bit of a pain. Math Notermans came up with a pretty ingenious solution for identifying elements using accessibility labels. Using this method I managed to get it sort of working...
Slide view:
Javascript that runs on timeline start:
Published view:
I don't know your situation, but generally this kind of stuff is easier to achieve and maintain using master slides and/or theme colours.
KamalAwwadah-84
4 years agoCommunity Member
Hi Ben,
This is pretty ingenious. How did you find the commands to recolor a shape, for example?
Related Content
- 11 months ago
- 2 months ago
- 11 months ago
- 11 months ago