I know that this subject has been covered extensively on Stackoverflow but I cannot find a definitive answer.
I am successfully detecting if the client device is a touch screen:
if(!!('ontouchstart' in window)){
// detect swipe
}
However, I cannot figure out how to detect a swipe/hover over an element. Please note that I want to be able to do this without the jquery mobile library.
Here is my fiddle:
Thank you in advance,
Alan.