Conditionally run an interaction

I am trying to create a sub-menu which becomes visible once a menu item has been clicked, and then becomes invisible once a separate button (“All Videos”) is clicked. I’m trying to avoid using JavaScript if possible.

State 1:

State 2:

These screenshots illustrates what I mean. When “All Videos” is selected, the grey area should always be collapsed. All the other main categories would open the grey area and switch the contents of it.


Here is my public share link: LINK
(how to access public share link)

hi @SanjayPoyzer here is one bare bone example of many ways how it can be done. In any cases you will need a custom code.

EDIT: I had a bit of time to revisit this example and have a fun to add one feature to this filter you may find helpful. :slight_smile:

1 Like