Skip to main content
Participant
September 13, 2016
Answered

Persistent down state for button

  • September 13, 2016
  • 2 replies
  • 194 views

Hello,

I am using a shape as a button. the rollover state  reveals a map svg . On the down state I want the map to persist in the down state  so that a user can then either rollover  a different button briefly and see the  two 50% transparent SVG images overlapping showing the overlapping species distribution.

If I solve this I would still need to allow a user end the down state by clicking a second time.

 

My guess is that it might be possible if I know the right on success action. Is what I want to do impossible unless I want to use more complex interactions with radio buttons and check boxes etc.

 

Thanks.

    This topic has been closed for replies.
    Correct answer Lilybiri

    Captivate has the normal behavior for those InBuilt states of buttons and shape buttons: the Down state is only appearing when the mouse is in that state. You can add a custom state 'Done' that will only be able to replace the 'Normal' state, by adding a command to the action you want to be executed by that button:

       Change state of button to Done

    In that custom state you can not only change the look of that state (maybe have a duplicate state of the Down state, but even add other elements like a check mark.

    A slightly different work flow, for toggle buttons, is demonstrated in this blog post:

    1 action = 5 Toggle Buttons - Captivate blog

    2 replies

    Lilybiri
    LilybiriCorrect answer
    Legend
    September 13, 2016

    Captivate has the normal behavior for those InBuilt states of buttons and shape buttons: the Down state is only appearing when the mouse is in that state. You can add a custom state 'Done' that will only be able to replace the 'Normal' state, by adding a command to the action you want to be executed by that button:

       Change state of button to Done

    In that custom state you can not only change the look of that state (maybe have a duplicate state of the Down state, but even add other elements like a check mark.

    A slightly different work flow, for toggle buttons, is demonstrated in this blog post:

    1 action = 5 Toggle Buttons - Captivate blog

    RodWard
    Community Expert
    Community Expert
    September 13, 2016

    You cannot remain in the Down state.  You need to add a new state and use Advanced Actions to change to that state after the button is clicked.