port of jquery touchSwipe plugin to XUI
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with cowgp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
xui.touchSwipe-1.2.4.js

README

Port of TouchSwipe JQuery plugin to be used with XUI instead of JQuery.

Info on TouchSwipe can be found here:
http://labs.skinkers.com/touchSwipe/

Documentation on options for TouchSwipe on it's website remain relevant so please refer there.


example implementation:
----------------------------------------------
function init ()
{
	var swipeOptions=
	       {
	           swipeStatus:swipeStatus,
	           swipeLeft:slidePagesLeft,
	           swipeRight:slidePagesRight,
	           triggerOnTouchEnd:true,
	           threshold:75,
	           allowPageScroll:"auto"
	       };

	x$(".mainContent").swipe( swipeOptions );
	
}