mobile-safari

Problem writing to a database on iphone in mobile safari

Hi, I have got a web app working in Safari 5 on the desktop that writes to a local storage database - not problems! Able to add, update and delete records fine. I then set the web app up on the iphone, but it seems to be ignoring all database transcattions except creating and dropping tables. It does not matter whether the app is on...

iphone/ipad website development/testing on Windows........

Can i successfully do iphone/ipad web development (not native apps) on Windows and without having iphone/ipad device? Work Like PSD to iphone optimized XHTML, CSS layout. Interested to learn and make iphone/ipad optimized websites? Any tips? How much it will be different from desktop? What different other than small screen? ...

jQuery Chaining/Efficiency Advice

Ok, before you review the code below, I know that it is AWFUL. It's redundant and bloated and I am not asking for anyone to fix it :) I am wondering what I need to study in order to fix it on my own. I'm working on a small project for my daughter, an interactive multiplication table that she can view in Mobile Safari. I want to highlig...

How do you dissable phone number detection in mobile safari

I have tried to disable phone number detection in safari for my web app but it still shows 7 character strings comprised of numbers as phone numbers. I used the apple provided meta tag but no joy. <meta name="format-detection" content="telephone=no"> Anyone else run into this problem and work around it? Thanks. Update: It looks li...

mobileSafari: Auto Scroll/Pan to specific position on page after reload

I'm programming a Webpage/-Application for the iPhone. I need to scroll to a specific position after page reload, no matter where I scrolled to while using the page before. The script I use works fine in firefox but not in mobileSafari. In corntrast to firefox, mobileSafari seems to save the position I scrolled to previously and jumps t...

Clean way to programatically control Safari on iPhone?

The title say's almost all. What I have is short lived server processes that serves a web-based javascript test suite with optionally accompanying back-ends for integration tests (see here for how it's done). I'm looking for a better way to direct the iPhone Emulator's Safari to the URL given. More, possibly optional background: Up unt...

Mobile Sarai - "touchend" event not firing when last touch is removed?

The "gesture" I'm trying to capture is a tap when but only when an element (other or same) already has a touch on it. So, touch (1) presses the button down while touch (2) taps to selected options, touch (1) releases and button is depressed. The problem I'm having is with the last bit. The "touchend" event is not being fired when I rel...

Can a html5 local app have an asp.net session? (local webapp for iPhone)

The context: I'm actually developing a small web app (C#/MVC2). Users are going to use their iPhones (and probably Android phones in the future) to access it. At the moment it's quite simple (it just shows some info and reports from our customer's ERP), and I decided to give a try at creating local webapp that the users could add to t...

Is 'user-scalable=no' broken with iPhone 4?

The following markup is so simple, I'm baffled as to why I'm able to scale in Safari on iPhone 4 when I shouldn't be able to. Any idea what I might be missing, or if this is a bug? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&g...

iPad Safari mobile seems to ignore z-indexing position for html5 video elements

I got a video element on a page that's working fine both in safari mobile and desktop. I have a seme-transparent pull-down menu that's working fine. The problem is, when the menu is over the video element, on the desktop safari i can see the video under the menu (as desired), while on the mobile version the video element stay on the fore...

How can I tell which "button" is being tapped in mobile Safari?

I have an html "button" which is really just this: <div onClick="window.location.href=somePage.htm"> <img src="img.png"/> </div> Works fine in desktop Safari. And it works in mobile Safari... however when I tap the "button" in mobile safari I don't see the little gray outline box indicating exactly what I'm tapping. How can I ge...

Startup image in webapp for Retina display?

Anybody know how to get iOS to display higher resolution startup image when using ? Currently I'm stuck with 460x380 image which obviously looks horrible when displayed on iPhone 4's high dpi display. I tried the @2x trick but didn't seem to work. Any ideas or workarounds? ...

Managing large sets of Images using Javascript on MobileSafari

I'm looking at ways to manage a large set of images within Mobile Safari for iPad. In this case I have a web app that will move the images using webkit CSS3 animations (supposedly taking advantage of hardware to do so). I've noticed that if I have more than 10 large images (200-300K each) I hit large performance issues. Animations are j...

Multiple HTML5 audio tags in Mobile Safari and UIWebView

I am having difficulties with pages that have more than one <audio> when I use the default controls. I have not tested creating custom controls in-depth yet. The custom control has a "Start" button that changes to a "Pause". OK that works fine to pause the audio. But, when you go to the second audio control on the page, it will neve...

Does the iPhone support cookies when a webpage is opened in fullscreen mode?

I can't find this information anywhere. Does the iPhone allow cookies to be stored when a webpage is opened in full screen mode (by placing a link on the home screen)? ...

Webpage that lets user draw a picture - on iPhone

I am making a webpage for iDevices and need to allow the user to draw pictures. There would be a box and they would scribble in whatever they need. Don't need color or fancy brushes. When they are done, I would need some way of collecting that input and getting it back to the server, vector or bitmap format would be fine. Is this possib...

Max image width in Mobile Safari? Getting unwanted downscaling on panos

I want to display very wide, panoramic images in Mobile Safari (iPhone, iPod, iPad). These work fine in OS X Safari and in other browsers, but on Mobile Safari there seems to be a limit on the maximum image width. Consider this web page: http://basepath.com/public/test1.html with this source: <!DOCTYPE HTML> <html> <head> <meta name ...

iPhone Web app cache control for sensitive data

I am in the process of investigating whether it is possible to prevent mobile Safari from caching certain file. I went through a few posts about controlling caches in SO (e.g. meta tag, HTTP headers), and a few blog post. This one seems to implies that components are not cached unless either Expires or Cache-Control in the response heade...

Should we make Print css for mobile specific websites?

Should we make Print css for mobile specific websites? Sites which are specifically built for mobile users and we have different site for desktop/laptop user. ...

Scaling problem with -webkit-transform with mobile safari on iPad

In the HTML page below, I am scaling a block with a -webkit-transform. The transform scales the block from its initial size to its double size. This works as expected with Safari, and Chrome on OSX. But, on the IPad (both the simulator and the device), the scaling start from a single point instead of the original size of the image. As...