Hi. I am using jquery super gestures, http://www.evanbot.com/article/super-gestures-jquery-plugin/22, for an interface on a site.
I want each gesture I use to have a series of function assigned to it e.g:
When one movement (say moving the mouse to the left) is performed by the user it fades in a div with a nice graphic prompting the user to do something else
When the same movement is performed again it performs a different function forgetting about the last function it performed for that movement.
This could go on and on until it runs out of actions for that particular movement. I would then apply this to a whole series of mouse movements up, down , left, right, circle, zig-zag etc
It has been suggested I can use arrays for this, but I am unsure how to write an array in jQuery and also how I would get jQuery to cycle through the array.
I hope this makes sense