5492 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

We utilise this flip book on one of our sites, and it is great. Heavily customised, and totally dynamic.

The only issue is I would like to make it touch swipe, so on mobile devices etc users can slide pages back and forwards using swipe gestures.

Can this be done, or should we start all over again ?

The best option would be to just hack the code we have if possible.

Any help appreciated, and happy to pay small fee ..

Regards

1565 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
OriginalEXE
says

I would recommend you this plugin: http://labs.skinkers.com/touchSwipe/

And then set up the events that will happen on swipe left and right.

5492 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

Thanks but I could just aswell use this but I would rather cobble together a workaround for what I already have, and I only need swipe left and swipe right .. seems a lot of work to go to , to add swipe effects.

Cheers, will keep looking.

1565 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
OriginalEXE
says

Well you can easily implement first plugin in the current solution, no need to change slider. Just on swipe left/right add event button click.

5492 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

Well you can easily implement first plugin in the current solution, no need to change slider. Just on swipe left/right add event button click.

Thats where i am getting stuck, adding event handlers that accept gestures.

1565 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
OriginalEXE
says

Add that plugin above and then add something like this:

<script type="text/javascript"> jQuery("#mybook").swipe( { swipeLeft:function(event, direction, distance, duration, fingerCount) { jQuery('#next_page_button').click(); }, swipeRight:function(event, direction, distance, duration, fingerCount) { jQuery('#prev_page_button').click(); }, threshold:0 }); </script>
5492 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

Perfect ! thanks, works a treat . Will add cursor:move to it, and we are done ;) thankyou.

1565 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
OriginalEXE
says

No problem, glad it worked ;)

by
by
by
by
by
by