It's a simple page with two list items. I created an android-like menu. The user has to hold a list item and the menu will appear. If he clicks on the menu or somewhere else (the menu layer has the size of the complete page, so the user can't click canywhere else then on the menu), the menu disappears. If the user does this multiple times on the same item and then clicks on the item, the tap event is fired multiple times. Have a look at this demo video: https://vimeo.com/46296777
But if I use 'click' instead of 'tap', the code works. Does anyone know why?
Hello everyone :) First, I am using Phonegap to make an app ;)
Well, I have a problem. I don't know how to make a menu, which slides into the screen/page if the menu button on a Android mobile phone is clicked. I know how to use the Android Menu button (this is the code: " document.addEventListener("menubutton", menuKeyDown, false); "), but I don't know how to slide in a menu. The menu should look like the select menu - that would be fine. I could make a new page, but that doesn't look really good, does it?
First, what I want I write an app for mobile devices (like iPhone, Android) with phonegap. On one page is an canvas element. The user can drag something on this canvas around, but if he wants to drag the element to the top, the page scrolls. How can I deactivate the scrolling. I know, that iScrolldeactivates this scrolling.
How can I fix the complete content, so nothing scrolls?
Hello :) My Question today is about the JQM Scroll view. To scroll the content I have to put data-scroll="true" into the div which should be scrollable. So have put it into the first div on my page. The problem is, that there is a page with a canvas element. On this canvas element the user can drag something around. But now, it does not work. Any ideas why? I think it is because the content is scrollable. But data-scroll="false" does not work. Can anyone help me? :)
I searched a lot but the answers I found were not matching to my answer. (or I didn't search enough) I know that I have to do something with .page() oder something else. Can anyone help me?