So, I have the red group and the grey group.
When I click the red group I want to hide the grey group, when I double click I want to show it again, and so on.
I can do only the first step? How can I do the rest?
So, I have the red group and the grey group.
When I click the red group I want to hide the grey group, when I double click I want to show it again, and so on.
I can do only the first step? How can I do the rest?
I think I found a solution.
Hi!
Create a “double-click” button is something that will require some work… I never needed one, so I decided to take the chalange to build one…
Here is how I made it:
When I cick in “Group A” I hide the icon.
When I click in “Group B” I show the icon.
So, “Group B” can only be visible for a few mileseconds after I click in the “Group A”, to simulate the second click. So, if I be able to click in the “Group B” while it is visible it means that I made two clicks, one after other. So, how I did it?
Note that after I click in the “Group A” I hide the icon and show “Group B” for 200 mileseconds. It is very very fast… After this time, I hide it again.
Now, important things:
Hope it help!
This is not going to work as a “double-click”.
If you keep clicking, you will keep adding +1 to your custom state and the group will keep been displayed and hidden thru single clicks…
Might want to try this using simple Jquery with just 2 actions, free, works for mobile and stable.
This topic was automatically closed after 70 days. New replies are no longer allowed.