- This topic has 7 replies, 2 voices, and was last updated 11 years ago by support-michael.
-
AuthorPosts
-
jailbirdMemberHow disable multitouch. How enable only one touch ( with one finger ) .
Thanks
support-michaelKeymasterCan you describe what you are attempting to accomplish and what problem you are encountering now?
More info can help us determine how best to answer this question.
jailbirdMemberOk,
I have any jquery action : $(“#elem1”).bind(“touchstart”, function () {…};
and $(“#elem2”).bind(“touchstart”, function () {…};I need disable touchstart for elem2 when run touchstart for elem1.
thanks
support-michaelKeymasterI’m kicking this over to our dev team for guidance as I suspect this is going to have contention with the default touch handling.
Is this behavior part of custom html widget code or are you hacking on mobione widgets directly?
jailbirdMemberMy project is completely written in JavaScript. All elements are generated in .js file.
jailbirdMemberI need for example :
$(“#elem1”).bind(“touchstart”, function () {
$(“#elem2”).off(“touchstart”);
…..
});$(“#elem1”).bind(“touchend”, function () {
$(“#elem2”).on(“touchstart”);
…..
});Function “off” works but not function “on” 🙁
jailbirdMemberOk , i have any solution but is not what i want.
var isTouch = 0; $("#elem1").bind("touchstart", function () { isTouch = 1; ..... }); $("#elem1").bind("touchend", function () { isTouch = 0; ..... }); $("#elem2").bind("touchstart", function () { if (isTouch == 0){ ..... } });
support-michaelKeymaster>Ok , i have any solution but is not what i want.
Then is it a solution?
Also I’m curious why you are using mobione if you are generating your own UI? Seems you really don’t need mobione, do you? MobiOne apps include phoneui.js which setups up the event handling for touch and clicks. In general development that extends outside of or works against mobione’s event handling are considered experimental or custom solutions and not supported by our team. Without more info your project falls into the unsupported experimental category.
-
AuthorPosts