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

1509 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
+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
  • 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.

1509 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
+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
  • 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.

1509 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
+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
  • 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.

1509 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
+2 more
OriginalEXE says

No problem, glad it worked ;)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by