This question may be outside the scope of this group.  I am making my first
attempt at writing an iphone app using mootools and phonegap.  

 

One of the first things I noticed was the lack of support for locally
testing things in a browser.   So I decided to create an events class that
would map normal mouse events to mouse gesture like events.   This part
works great!

 

The next part of the class was to add the touchevents to the mootools events
so you could do things like:

 

document.id("myDiv").addEvent("touchstart", function() { //do somthing} );

 

this aspect of the class I created is not working as all.  I am at a loss,
from what I can see it should be working.

 

Here is the code, try it from any browser then try it from an iphone/ipad:

http://mootools.net/shell/L3Bb5/1/

 

 

Reply via email to