Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript follow finger touchscreen compatible Reply To: follow finger touchscreen compatible

#235664
Shikkediel
Participant

Untested but probably something like this :

http://pastebin.com/vhJ99q9H

If .slider-wrapper isn’t fullscreen, it would be better and easiest to repeat the mouseleave functions for touchend bound to the window object. There used to be a touchleave in the old W3 draft but it’s not there anymore, making an adaptation slightly overcomplicated.