Forum Discussion
Changing the color of the StoryLine player DYNAMICALLY with JavaScript
Correct me if I am wrong, but I think the JS-only solution doesn't require anything complicated. The following seems to style the player background color:
document.getElementById("frame").style.backgroundColor = "red";
- OwenHolt3 years agoSuper Hero
You are not wrong. The JS solution is just fine. The intent of what I was showing in this thread opens the possibility to change the entire look of the player all at once rather than element by element.
If all you want to do is change the frame color, nothing more elaborate is needed.
If you wanted to change colors, fonts, backgrounds, outlines, etc.... then swapping the CSS file on the fly is an easy solution.
Also, keep in mind, this is, as you said, a VERY old thread. SAo much has changed with the Articulate products since this was posted. I think this might have been built in Storyline 3 (???) before 360 was even a thing (or at least before I had a license to it).