I have a few button triggers on my site that have interactions triggers that I would like to happen on every click. They work for a single loop of the actions desired, but never again afterwards. Can someone help me with these? There’s no option to perform this on every click. I don’t know how to ‘reset’ the clicks every time.
First - My navbar menu button -
On first click the ‘hamburger’ spins out and an ‘X’ spins in to replace it, and then in reverse order on first click of the ‘X’. So happy with this. Very proud. yay.
However any other time the buttons are clicked afterwards, the swap remains but the spin in/out no longer takes place. So the show/hide affect is triggering but not the rotate/spin?
Help plz.
Second - Contact Modal Popup
All my ‘Contact Us’ buttons trigger a modal popup which functions perfectly on first click in and any of the triggers that close it (X button or background click). However, unlike the menu button trigger, none of these actions will perform on any further click of the button click.
I’m sure this solution is obvious and constantly addressed but I can’t seem to find it quickly in the discussion forums.
Cheers and thanks in advance.
Daniel