Hi,
I write a simple iPhone web app using HTML5's localStorage.
Tests on a 2G device show that data stored using localStorage does not persist after the Safari process is killed although the opened Safari windows are remembered.
The data is also lost in a case where I am on a different site on a different Safari window, then I change ...
We are working on an online mobile video app.
The videos we want to play on mobile phones are being generated by a server, as there can be dynamic content in the server (based on user input).
Now for iPhone we would like to play the video in the best possible resolution based on the connection speed at the time of downloading the movi...
I'm trying to add some iPhone style scrolling inertia to a web page that will only be viewed on the iPad.
I have the scrolling working in one direction (scrollLeft), but it doesn't work in the other direction. It's a pretty simple function
function onTouchEnd(event){
event.preventDefault();
inertia = (o...
I have just encountered very strange problem - my GWT app hosted on Google App Engine does not want to work on iPhone over 3G, however it works fine over Wi-Fi.
For testing I created empty GWT module with only Window.alert in the onModuleLoad. If I switch on Wi-Fi, the alert is shown, with 3G - just blank page although with correct titl...
I have a URL containing a fragment part, used to indicate a certain state of the webpage.
I want to open this link in Safari on the iPhone by using something like the following:
NSURL* fragmentURL = [NSURL URLWithString:@"http://www.exampleurl.com/index.html#foo"];
[[UIApplication sharedApplication] openURL:fragmentURL];
The link is s...
I would like to duplicate the view switching functionality found in mobile safari's tab feature. I have implemented the scrollview containing the view screenshots, however, when a view is selected how would I duplicate the zoom animation and the title and toolbars appearing and vice-versa?
...
I have some css menus on my site that expand with :hover (without js)
This works in a semi-broken way on iDevices, for example a tap will activate the :hover rule and expand the menu, but then tapping elsewhere doesn't remove the :hover. Also if there is a link inside the element that is :hover'ed, you have to tap twice to activate the ...
I have 1 page which has 2 DIV elements which is shown/hidden based on user click on action buttons with javascript, I would like to toggle scaling on action button click.
I tried with below javascript and it is changing viewport meta but getting no effect.
Any suggestions?
Blockquote
var ViewPortAllowZoom = 'width=device-width;';...
I got this for IE browsers,
var IE = /*@cc_on!@*/false;
if (IE) {
// IE.
} else {
// Others.
}
but how would i do the same for iphone/ipad/mobiledevices?
(do not want to redirect to another page on any mobile devices)
...
Hi,
Is it possible to open Youtube video on an iPhone targeted mobile web without having to leave safari?
Right now when the video plays, it leaves safari and upon clicking done, it doesn't go back to where the user left off.
Thanks,
Tee
...
Using CSS in a UIWebView, how can I make left-to right text flow in a justified manner? What CSS am I looking for?
EXAMPLE
<p style='text-align: justify;'>
does not work. What goes instead of justify?
...
iPhone Mobile Safari seems to be missing element.getBoundingClientRect. What is the equivalent method on iPhone Mobile Safari? This method exists on the iPad.
...
I have been using the uiwebview for a app that consists a index.html,css and javascript files.I'd like to do away with the uiwebview and open the app in the safari browser instead.All source files are located within the app bundle.Is it possible and if so can someone point me in the rite direction.Thanks in advance for any help offered.
...
Hello all:
I'm an iPhone developer, but new to web development. I've done some basic HTML websites and made one in iWeb as well. I'm trying to branch out to mobile web development now, so I checked out Dashcode.
Anyway, I'm trying to put a Call Button, Mail Button, and Map Button in horizontal alignment. I realize that I can add a Colu...
I'm working on some HTML5 content to be included as part of an iPad app in a Web View and it requires some custom fonts which I was attepting to implement via CSS and @font-face
As I understand it, Mobile Safari only supports SVG fonts, but my testing has shown Mobile Safari to really struggle with SVG and the performance hit is a serio...
Ok, so I've created a little plugin that takes a bunch of elements and creates a sort of never ending list. I'll try to explain...
I have a div, and it's got about 20 elements tags in it. When the user scrolls up, the top element moves out of view and is moved to the bottom of the list. And vice-versa so that when the user scrolls down,...
An identical javascript:openwindow call with a link to Google maps opens in Safari on the iPad but in the Google Maps App on the iPhone.
Why the difference?
<html>
<head>
</head>
<body>
<a title="View an area map for this property"
href="javascript:openwindow
('http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&...
Hey guys,
I've got a little system dashboard web app that I've written, replete with alarm notifications. I've had it working for quite some time on mobile safari, but recently wanted to add audio to the alarm notifications to allow me to easily know when there are alarms and I'm not looking directly at the display.
The alarm notifica...
In mobile safari on iPhone or iPod Touch if a user clicks on a mailto link and then returns to the page (either send or cancel), timers no longer function inside of javascript. I've posted a bug to apple, and on openradar.
However, I was wondering if anyone out there has come across this before and come up with some sort of workaround....
After searching around i still have no clue about the best practice to reorder a set of items in mobile safari. I'm currently using, in the desktop version of my webapplication, jQuery sortable function applied to a set of table rows, with an ajax callback to update items positioning.
What would be the best way of doing this in mobile ...