iOS 5 has brought a number of nice things to JavaScript/Web Apps. One of them is improved scrolling. If you add   -webkit-overflow-scroll:touch;   to the style of a textarea element, scrolling will work nicely with one finger.  But there's a pr...
the following test is basically ~1000 math operations and works fine on most PC and android browsers,  and iOS 4.x.  On iOS5 safari (iPhone 4 and iPad 2) we get "JavaScript: Error undefined JavaScript execution exceeded timeout".  Any help gr...
tl;dr - Safari on iOS 5 is caching so hard, it is breaking my site.  I am struggling with the way the Safari browser in iOS 5 deals with back forward cache, which they call "Page Cache".  The way it is described here explains the behavior ver...
In iOS 5, when a user attempts to share a link using the Facebook API, they are prompted to log in, but then the resulting page returns this:  <script type="text/javascript"> window.location.href="fbconnect:\/\/ success#_=_"; &l...
I'm looking for a javascript method or a way to change line spacing of text in a UIWebView.  Any ideas?  Edit:  Evan has answered the above question, but I have another on the same topic.  How can I query the source for the current line spacing v...
I am currently working on a contenteditable iframe, which so far works perfectly under all browsers except for mobile Safari. I am using iOS 5.1.1. The issue is reproducible in any version of iOS that supports contentEditable up to the latest.  The i...
I tried to used CodeMirror 2 for making a text editor in UIWebview IOS 5. But i had  problem in text selection. I couldn't select text.   This is codemirror code in codemirror.js,   // Wraps and hides input textarea: '<div style="overf...
From the Apple WWDC we have learned that iOS Safari 5 has tabs, and the new Reader and Reading List functionality.  None of which is particularly informative for web developers.  What are the new features relative to CSS (position fixed?), Javascript...
I am creating a full screen web app which will have some modules/widgets which make use of the new iOS 5 overflow:scroll features. What I want is to disable that 'bouncy' effect when scrolling the html/body (since it is full screen) but keep...
The following piece of logic used to work with both jquery 1.4.4 and 1.7.1 on all mobile devices that we're supporting:  $.ajax({   url: 'http://www.example.com/someurl',   type: 'GET',   dataType: 'text',   timeout: 60000...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.