5391 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
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

1466 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
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.

5391 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
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.

1466 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
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.

5391 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
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.

1466 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
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>
5391 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

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

1466 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
OriginalEXE says

No problem, glad it worked ;)

by
by
by
by
by
by