开发者

Homescreen sliding effect for Web App

I have a requirement where I need to slide divs in and out of a screen given the users swipe gesture.

I am looking for a javaScript library/decent tutorial that will let me create an effect like the iPhone home screen where you can swipe left and right and have a card/screen slide in/out. It is important it is NOT a framework like Sencha or jqTouch. Essent开发者_Go百科ially I need swipe gesture support and a smooth sliding transition.

Also any effects need to be smooth on the device. (use CSS3 animation (with hardware acceleration) as I need the experience to be smooth.

Targeted devices are Android and iPhone.

Any help or direction would be appreciated.


Here are some jQuery plugins you could use to achieve what you are looking to do without the full overhead of Sencha or jqTouch. These would still require jQuery and the plugin but I imagine if you are doing any reasonable web app or interface you are using jQuery :]

http://plugins.jquery.com/plugin-tags/touch

But here are multiple options, one should work to get the slide effect you are looking for or allow you to handle that gesture appropriately.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜