Skip to content
Advertisement

Tag: touchscreen

JavaScript mapping touch events to mouse events

I’m using the YUI slider that operates with mouse move events. I want to make it respond to touchmove events (iPhone and Android). How can I produce a mouse move event when a touchmove event occurs? I’m hoping that just by adding some script at the top that touchmove events will get mapped to the mouse move events and I

Advertisement