Questions tagged [touchstart]
158 questions
1
vote
2 answers
jQuery events click and touchstart
i was wondering the differences bewteen event click and touchstart? What i know currently is that touchstart is more suited for touchscreens, but click works both on touch actions and mouse clicking. I'm kinda of confused to verify those two, and…

nihulus
- 1,475
- 4
- 24
- 46
1
vote
1 answer
touchstart touch end on asp.net button not reading event
Hi I am attempting to simulate a hover event in a mobile web application for mobile safari.
Basically I have my asp.net button:
Now with javasrcipt I have to function that reads the…

Adrian Bonnici
- 283
- 4
- 14
0
votes
2 answers
is it possible to store the first pageX value on a touchstart?
I want to calculate the distance between the initial value of the touchstart and the actual value on touchmove.
for exemple :
I touch the screen : startX = 100;
Then, I move my finger on the screen : moveX = 150;
The distance from startX and moveX…

Julian
- 698
- 2
- 8
- 17
0
votes
0 answers
Show element under finger that was selected upon touchstart on mobile devices
I am using jquery event detector for touchstart on an element in mobile devices.
Currently nothing is showing under the finger on mobile devices after touchstart fires (the border & background color are applied on the original element)- how do I get…

Parti
- 39
- 1
- 7
0
votes
1 answer
Is there a way to remove clicked/hovered/touchstarted/tapped/active/focused status from a link on mobiles?
I tried to find dome duplicates of this question, and there are other threads with the same or with similar questions, but none of these threads include an actual solution.
No, blur() doesn't work with such links on mobiles
No, off() and unbind()…

Edward Munch
- 149
- 3
- 9
0
votes
0 answers
Touchstart and Touchmove not working in mobile view
$(document).ready(function() {
var isModalShown = false;
$(document).bind('touchstart scroll', function() {
if ($(this).scrollTop() >= 400 && !isModalShown) {
$('#myModal').modal('show');
isModalShown = true;
}
});
…

Raj Dave
- 1
- 1
0
votes
0 answers
Addeventlistener click working well on web screen, but not working on mobile devices
I am using pythonanywhere.com to distribute my web. The problem is, addEventListener at my HTML is only working perfectly on web screen, but not working in any of mobile devices including iphoneXR and ipad air(tested on safari web). When I click the…

C2c2
- 1
0
votes
0 answers
how to allow scroll on mobile using touchscreen passive handler
i'm desining a horizzontal scrolling website, but i want that feature only in Desktop mode and i would like to let standard scrolling in tablets and mobile devices.
right now this is my setup: