Questions tagged [touchmove]

140 questions
0
votes
1 answer

Trigger touchmove event drag and drop

Hi I need to trigger a touchmove event manually and pull an element out of the countainer on a mobile device (phonegap, jquery-mobile) $(elem).bind('touchstart', function(event) { event.preventDefault(); var target…
mboeckle
  • 938
  • 13
  • 29
0
votes
0 answers

Why is touchmove never ending in chrome for Android?

I have this code working in chrome desktop. I tested it using simulate touch and it works as expected. My surprise came when I tried to watch it on my tablet, using chrome for Android. This is complex but it is supposed to create a touch pad for…
Vandervals
  • 5,774
  • 6
  • 48
  • 94
0
votes
1 answer

Sync multiple sliders of bxslider onTouchMove

I have 2 sliders on a page, I want to sync both of them. I found a solution to sync on click of external controls but how do I trigger on swipe left and right? http://jsfiddle.net/vgJ9X/1/
  • Slide…
itsMe
  • 623
  • 3
  • 9
  • 23
0
votes
1 answer

Trouble with touch move

I want to make sure that the motion moved with the button held down picture (as in some trategiyah). But the image shake when I move it. Here's the code: // PROPERTY @property (nonatomic, retain) UIView *gameView; @property GameState gameState; //…
user3424037
  • 51
  • 1
  • 1
  • 10
0
votes
2 answers

jquery 1.9.1 and safari on macbook air, .on() event handler doesn't work

I am using the following code: $jq191('html, body').on('DOMMouseScroll mousewheel touchmove', '.fancybox-overlay', function( e ){ e.preventDefault(); e.stopPropagation(); }); I have also tried: $jq191('html, body').on('DOMMouseScroll mousewheel…
Masu
  • 1,568
  • 4
  • 20
  • 41
0
votes
2 answers

Move UIView Probleme

I have a UIView and I want to move it only vertically by dragging it. I used this code: -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [[event allTouches] anyObject]; CGPoint location = [touch…
Jonas Ester
  • 83
  • 2
  • 8
0
votes
1 answer

In Safari on iPad is there a way to stop the page rubber banding BUT still allow overflows too scroll?

There's a lot of snippets to stop the rubber-banding on iPad, like the one below: document.body.addEventListener('touchmove',function(event){ event.preventDefault(); },false); However this has the unwanted effect of preventing all divs with…
CafeHey
  • 5,699
  • 19
  • 82
  • 145
0
votes
1 answer

Conflicting JavaScript for gyroscope move and touchmove on iOS, how do I pause one part when the second is in use?

I'm punching above my weight a bit with some JavaScript code on an iOS web app. What I'm doing is moving a layer above another layer using: Gyro and accelerometer data and Touch input. This means I've got two bits of javascript both trying to move…
user2528534
  • 203
  • 3
  • 6
0
votes
1 answer

touchmove event won't fire after scaling image (scale3d)

As you can see here: http://jsfiddle.net/hWm9M/1/ by doing a touchmove while the image is scaling, you can verify in the console that the touchmove event is attached as expected. But when fully scaled, the event won't fire. I tried to attach the…
inwpitrust
  • 561
  • 3
  • 7
  • 20
0
votes
1 answer

touchmove and mousemove preventing vertical scroll on iPad

I’ve been working on an iOS iPad app for a school project using jQuery.touchSwipe.min.js code that will allow for the user to swipe horizontally between pages. However, I discovered that it's preventing scrolling up and down for content in which…
0
votes
1 answer

jquery mousemove on mousedown working on iPad

In a div I have three absolute divs that should scroll in my container to gain a small parallax effect. I made a function to track the offset of e.pageX on mousedown. If the mouse comes up before there is dragged I register it as a click event (that…
Hans Wassink
  • 2,529
  • 3
  • 30
  • 45
0
votes
2 answers

Touchmove doesn't work with Google apps scripts html service

I'm trying to get touchmove events to register with a simple web app written using Google apps scripts html service so that I can make simple web apps that function on the iPad as well as on a desktop. All I do is first load a web page, which works…
0
votes
1 answer

ipad/iphone carousel not working as expected with touchmove

I have a carousel that is working just fine for all browsers and all devices except for ipad/iphone. When I swipe the carousel, it will use jqueries easing and bounce several times before stopping. The only way to make it behave, as it does in all…
kronus
  • 902
  • 2
  • 16
  • 34
0
votes
1 answer

How to draw a line on image using appcelerator titanium mobile

I'm want to make an application for Galaxy Tab, that allows me to draw pictures... Something similar to MS Paint (don't ask my why :)) so the first steps are: win = Ti.UI.createWindow({ backgroundColor: 'black', exitOnClose: true }); image…
Alex
  • 81
  • 2
  • 9
0
votes
1 answer

Prevent click on Ipad/Iphone when sliding a jquery slider

I have structure
I have created sliding for iphone/ipad, I set the overflow:hidden on DIV and move UL up and down The problem is that when I start…
ArmeniaH
  • 733
  • 1
  • 8
  • 18
1 2 3
9
10