jQuery Flick

jQuery Flick
 点击下载

This plugin adds Apple iPod/iPhone (firmware 2.0+) flick/scroll functionality to jQuery. Use built in Touch methods including ontouchstart, ontouchend and ontouchmove.

Includes rubber banding if the user scrolls past the top/bottom of the scrollable region. There is also an internal division ontouchstart to place over any clickable elements. This prevents items that are in the scrollable region from being clicked while you are in mid scroll.

Written By: Peter Schmalfeldt ( Manifest Interactive )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

NOTE: This is only functional an the Apple iPod/iPhone running version 2.0+

SAMPLE USAGE:

  1. $('#notes').flick(); 

转载请注明:代码家园 » jQuery Flick

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)