0
Beantwoord

counting interactions

Melissa Lind 11 jaar geleden bijgewerkt door Alin Alexandru Matei 11 jaar geleden 4
I'd like to have a countdown of the number of interactions on the page, so that the user knows to keep searching if they haven't found them all. Any suggestions for the simplest way to do this?

I want there to be a sound attached to the interaction as well, but only once, if they tap the interaction for a second time I don't want it to count down or make a noise.

This stuff is so hard to describe, let me know if I need to be more clear.

HUGE THANKS!!!!

Antwoord

Antwoord
Beantwoord
You can add a counter with two behaviors chained: Counter Set ( with value equal to number of interaction also Invoked on Page load) and chained to this one a Counter Display. Also for every interaction you can have Counter Substract, so the user knows how many interaction remained.
To have a sound play only one you can have a transparent element show after the interaction occurs. So if you have Tap-PlayAudio, chained to this behavior will be a Show behavior with the target being that transparent element. ( That transparent element will be hidden at the start of the page and it will be on top of the element that is causing an interaction.)
Beantwoord
You can add a counter with two behaviors chained: Counter Set ( with value equal to number of interaction also Invoked on Page load) and chained to this one a Counter Display. Also for every interaction you can have Counter Substract, so the user knows how many interaction remained.
Antwoord
Beantwoord
You can add a counter with two behaviors chained: Counter Set ( with value equal to number of interaction also Invoked on Page load) and chained to this one a Counter Display. Also for every interaction you can have Counter Substract, so the user knows how many interaction remained.
To have a sound play only one you can have a transparent element show after the interaction occurs. So if you have Tap-PlayAudio, chained to this behavior will be a Show behavior with the target being that transparent element. ( That transparent element will be hidden at the start of the page and it will be on top of the element that is causing an interaction.)
What if the user should still be able to use the element for interactions, but the sound should only be played once?
Then the transparent element on top of the original one, should have a copy of the interactions that the original element have but without the audio element.
Of course. So obvious, now that you've said it ;)
Thanks for kicking my brain in gear :D
+1
Here's a sample app showing how you can see how many interactions you have by using a counter.( I didn't increment the counter value for the audio behaviors to). Also if you still want the interactions to work add the FadeOutIn behaviors to the transparent elements to with target being the corespondent element.
289 - Interactions Count.zip