Questions tagged [touchswipe]

TouchSwipe a jQuery plugin for touch devices.

21 questions
7
votes
2 answers

jQuery TouchSwipe plugin doesn't work on links?

Im using the jQuery TouchSwipe plugin. Its working great on divs but its not working at all on links. I want it so if you tap or click a link you get the default link behaviour. But if you swipe I want the javascript swipe to fire as if the element…
Evanss
  • 23,390
  • 94
  • 282
  • 505
3
votes
0 answers

Touch swipe vertical scroll in a div

I am using Jquery Touch Swipe plugin for swipe functionality in mobile views of my project. All the rest of the functionality is working fine except the vertical scroll. I want the user to be able to scroll down to see more of the data. My guess is…
2
votes
2 answers

TouchSwipe distance reset

I am trying to create a very simple swiper gallery. But I bumped into a problem. First of all here is my code below:- https://jsfiddle.net/drbj6zk8/2/ function swipe2(event, phase, direction, distance) { var check =…
yavor.vasilev
  • 259
  • 2
  • 9
1
vote
1 answer

How to page swipe done in apache cordova

I am working on building an mobile application on apache cordova. I am using the latest version 9.0.0 (cordova-lib@9.0.1). I have created the index.html The code works great on cordova browser. But it do not run on android device. I have not checked…
Karan.T.
  • 23
  • 1
  • 6
1
vote
1 answer

jquery touchswipe swipe function not working when not using $(document).on

I'm using jquery touchswipe but as I'm creating the dom element by javascript not by html itself, it doesn't work if I don't use $(document).on('click', '.swipe-area') instead of $('.swipe-area').on('click'). So my code: $('.swipe-area').on('click',…
kodfire
  • 1,612
  • 3
  • 18
  • 57
1
vote
0 answers

How to handle Swipe event using jQuery and touchswipe

plunker demo shows swipe event functionality with touchswipe library. I need to able to swipe, after scrolling the page completely(horizontal).(Now it is swiping , if you just move the mouse/swipe with finger) And the new page which I get after…
Shailesh Bhat
  • 152
  • 4
  • 21
1
vote
1 answer

Jquery touchSwipe plugin Page Scrolling on iOs devices

I'm using Jquery plugin touchSwipe and I encounter an issue. I can't scroll on my iPad (or iPhone) over the section where I activated the swipe handler. I've activated the allowPageScroll:"vertical" option. It works on Android. If you want to test…
Elie Teyssedou
  • 749
  • 1
  • 7
  • 19
1
vote
0 answers

TouchSwipe-Jquery-Plugin error

Hi I m getting sucked on TouchSwip.Js Error Ignored attempt to cancel a touchend event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. Code (function(g) { function P(c) { if (c && void 0…
saeed alam
  • 11
  • 1
1
vote
0 answers

How to handle click of links in jQuery touchSwipe block

I have a block of links handled by jQuery touchSwipe plugin. When I tap a single link from mobile device, it doens't follow the url stored at "href" attribute. I use plugin option "click". Basically it works, for example with alert(). But how to get…
femalemoustache
  • 561
  • 6
  • 17
1
vote
1 answer

Touchswipe not initiated correctly after JQM page load

I'm creating a hybrid app using JQM. One of the pages is an image gallery where I use Touchswipe. If I open the page directly everything works fine. But if I navigate to this page by clicking a link from another page, JQM loads the page using Ajax…
Steven
  • 19,224
  • 47
  • 152
  • 257
0
votes
1 answer

Using TouchSwipe with $(this)

I'm trying to figure out how to use the touchSwipe plugin to make it affect only one element.
Content 1

Hello

Content 2

Hello

0
votes
1 answer

How to make dot-navigation on a swipe list

I have made a swipe list with a dot-navigation. When the user clicks on a dot, the specific image gets displayed and the dot becomes an active class to indicate which image is currently displayed. So far it works fine. Then I added the TouchSwipe…
ST80
  • 3,565
  • 16
  • 64
  • 124
0
votes
0 answers

Touch swipe in meteor

Im having trouble integrating meteor and touch swipe. Im using touch swipe to switch between two different tabs and it works for some tabs but for others, Im getting this error. Ignored attempt to cancel a touchend event with cancelable=false, for…
Tevin Thuku
  • 437
  • 1
  • 8
  • 19
0
votes
0 answers

TouchSwipe Mobile Menu

Please i need help. My intention is to develop a mobile application with the following details: 1. Swipe-able menu from left to right. 2. When the body is menu is disappears 3. Fixed Header with logo on every page 4. Multiple Html page called from…
Chinedu
  • 1
  • 1
0
votes
1 answer

Prevent click firing after swipe on desktop browser

I am using touchswipe for a web app, but I would also like it to work on the desktop (specifically chrome). However it is firing the click after a swipe. Is there a way to prevent it doing this ? I have a jsfiddle for this $(".swiper").swipe({ …
Symeon Breen
  • 1,531
  • 11
  • 25
1
2