开发者

Need help with touch gestures on an html website

开发者 https://www.devze.com 2023-03-12 11:19 出处:网络
I am currently working on a web application. I have a menu bar that moves when someone clicks on arrow. With every click a new menu option is activated.

I am currently working on a web application. I have a menu bar that moves when someone clicks on arrow. With every click a new menu option is activated.

Now, I would like to give the user the option to slide over the menu bar/screen to navigate on a touch interface.

Any idea how 开发者_Go百科I would do that ?

Thanks


Well I don't think you'll be able to do it using just HTML, but if you're comfortable with jQuery take a look at this:

http://plugins.jquery.com/project/swipe

This plugin enables you to bind events to gestures, but I believe it only works on iPhone and iPad.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号