I wanna implement touch Gestures for a Website
-
27-05-2021 - |
Question
I am developing a website for a desktop. Now I want to implement a feature where if the website is opened in a mobile phone or other touch device, I want my program to detect the device and activate the touch functions. How can I do that?
Which framework I have to use? Currently I am using JavaScript (jQuery) in JavaScriptMVC framework.
Suggest to me a library that supports touch functions (like jquery.js). I don't need a plug-in, I want to write my own program.
Solution
You can use Modernizer to detect client cababilities, and modify your functionality accordingly. http://www.modernizr.com/
OTHER TIPS
Have a look atJQuerymobile and Sencha Touch for enabling gesture capabilities. And yes, use Modernizr to detect the client device.