Forum Discussion

PamelaHall's avatar
PamelaHall
Community Member
6 years ago

To click or double click??

My colleague has a course where she has disabled the next button until all of the tabs on the page are selected.  However if the learner double clicks on the tabs as opposed to just single clicking, the next button does not return to normal.  If the user simply clicks once on the tabs the next button returns to normal.  Help?

  • MichaelHinze's avatar
    MichaelHinze
    Community Member

    What condition(s) are you using to enable the Next button, the Visited state of the tabs or variables? Can you share your .story file here so that someone can take a closer look?

  • PamelaHall's avatar
    PamelaHall
    Community Member

    Hi there Michael,

    She has the standard -Change the state of the next button to disabled when the timeline starts.

    And -Change the state of the next button to normal when all of the  buttons 1, 2 ,3 4, 5  are selected.

    We noticed if you single click on all of the buttons, the next button operates properly.

    If you double click on all of the buttons the next button appears but any "selected states" don't work.  such as change the colour of a selected state.

    And if you single click on one tab and then double click on a anothert tab, the next button will not work when all tabs have been selected. So it appears we can can not single and double click buttons/ tabs on the same slide.  It has to be one or the other?  Not sure how to fix this.

    Suggestions?

  • PamelaHall's avatar
    PamelaHall
    Community Member

    We discovered that if we changed the :selected" state of the buttons to "visited", it didn't matter if you single clicked or double clicked the next button would appear after all button were "visited"

    While the states of all of the buttons were all set at selected, if you single clicked one button and double clicked on the next one, the next button would not return to normal once all buttons on the slide were chosen.

    Not sure why you choose visited or selected should make such a difference?  Advice....??

  • MichaelHinze's avatar
    MichaelHinze
    Community Member

    Double-clicking an object with a Selected state would select and immediately unselect the object. In this case, using the Visited state in your condition makes more sense, because this built-in State is displayed when an object is clicked at least once.