What is the difference between screenX/Y, clientX/Y and pageX/Y?  Also for iPad Safari, are the calculations similar as on desktop—OR there is some difference because of viewport?  It would be great if you could point me to an example....
Is there a way to differ via javascript if the website runs inside the ipad safari or inside an application WebView?...
When I start my app in portrait mode, it works fine. Then I rotate into landscape and it's scaled up.  To get it to scale correctly for the landscape mode I have to double tap on something twice, first to zoom all the way in (the normal double...
Is there a way to detect if the current user is using an iPad using jQuery/JavaScript?...
Does anyone know if the onbeforeunload event is supported on the iPad and/or if there's a different way to use it?  I've tried pretty much everything, and it seems like the onbeforeunload event is never triggered on the iPad (Safari browser...
I'm writing a web-app for the iPad that will be loading data from a text file. (A sample data set is around ~400 kb). I have everything set up except the file reading. The way I have set up my code, you pass an object which reads a file line by l...
Very strange bug I can't seems to figure out.  I am trying to get an HTML5 video to play from a certain position when a user hits play. I am trying to have it seek right when the video starts to play.  On my play event I do this.currentTime = X...
Is there a way to bind to a double-tap event (in a single line of code) for mobile safari? Or, the alternative is to implement it intercepting two single-tap events that happened in some short given time (example: http://appcropolis.com/blog/implemen...
Javascript performance on mobile Safari (iPad) is much more sensitive for my application that it is on the desktop. Some operations that work super-smooth on the desktop take a while on the iPad, and I'd like to track down where the bottlenecks a...
I am trying to Simulate a scroll event using Javascript for Mobile Safari. I am using the following code  var evt = document.createEvent("MouseEvents");     evt.initMouseEvent("scroll", true, true, window,0, 0, 0, 0, 0, false, false,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.