5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 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

1484 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 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.

1484 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 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.

1484 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

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

1484 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
OriginalEXE says

No problem, glad it worked ;)

by
by
by
by
by
by