port of jquery touchSwipe plugin to XUI
JavaScript
Switch branches/tags
Nothing to show
Latest commit 96ca7bd May 17, 2011 @cowgp comments
Permalink
Failed to load latest commit information.
README readme May 17, 2011
xui.touchSwipe-1.2.4.js comments May 17, 2011

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 );
	
}