Upvote 1

How do I control the toggle on show / hide?

Answered Victor Conesa 11 years ago

I have been trying to get a shown item to stay show so that it can be clicked on. When ever I go to click on it, it goes back to hidden because I left the previous event that showed it. Suggestion? 0868bb691f6b96e5c398a9f3b8d54e14

Best Answer
photo

To create elements and sub-elements to be shown with toggle, just create an "On Toggle" + "Show" event for each element.

1dbaf7229a004d45ec543b5f07d97559

Check out the attached prototype.

Replies (2)
photo
1

You can use a variable for that. You set a value on that variable, say, "yes" if shown, "no" if hidden. Then add a condition on the item you want to show/hide based on the value of that variable.

photo
1

To create elements and sub-elements to be shown with toggle, just create an "On Toggle" + "Show" event for each element.

1dbaf7229a004d45ec543b5f07d97559

Check out the attached prototype.

Leave a Comment
 
Attach a file