Add "Visited" State to Button Wizard
August 15, 2017 12:00 AM
Currently, there are only 4 states in the button wizard - Up, Over, Down, and Disabled. If we want to have a button change to show that it's been clicked already, we end up having to create a second button and do a show/hide on it. It would be much easier to add a 5th state of "Visited" that could be a different color, have a graphic with a check mark, etc.
Discussion (3)
This was already placed on the radar of our development team and should be included in a release sooner rather than later :)
As of now , this is still not a feature included in Lectora? correct? I have developed a work around that utilizes pop-ups as a method to keep the variable parameters in the same page. The biggest hurdle to this problem using variables available in lectora is that if you navigate to a separate page and then navigate back, everything gets reset from the beginning (using timed intervals to ping for variable value changes is the only way to achieve "visited state" within a page, but these timed intervals get reset once you leave the page and come back). Using the pop-up as a work around effectively keeps you in the same page and therefore the variables do not reset and you achieve the "visited state" on a button. Wish there was a way for me to post the course so you could evaluate and see how it functions :(
Will attach the html file. Maybe you can get it running :)
undefined
Are you using IF statements on the variables? One better solution may be to use custom variables and set them to a specific value so that onPageShow, it's looking to see if the variable is "visited".
onPageShow undefined IF This page is complete.
I'm not a fan of delays, as it could impact UX if the button is loaded initially in one state, then suddenly is in a different state moments later.
Also, when posting samples, the zipped development file needs to be uploaded so we can see how you configured actions.
Discussions have been disabled for this post