Change the colors of the button player with Javascript

Jan 22, 2013

Hello ! 

I would like to change the color of the player with a javascript's function. I mean, I would like the button stay red until the user answer the question of the quiz (for example). 

do you know how to do it ? 

Sébastien

2 Replies
Steve Flowers

Hi, Sebastien -

Unfortunately, there isn't a documented way to do this and I haven't found a workaround to push a new color configuration for the player. The player configuration is contained in frame.xml on publish and it initializes once when the player loads. So even if there were a way to write to frame.xml at runtime, there's no way to push the update for a single slide.

This seems to be a common request (visual states for built-in navigation buttons). Please add to existing requests by submitting an enhancement request / suggestion. The more "votes", the higher probability it will become a priority.

Ideally, I'd like to see multiple states for the navigation buttons as an option with a trigger controllable state change just as with any stage object.

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