While this viewoprt stuff is the Hot Topic, please be aware of the following 
Safari oddity:

  <meta name="viewport" content="width=device-width; initial-scale=1.0;">

is perfectly correct, while

  <meta name="viewport" content="width=device-width; initial-scale=1.0; ">

is an error in all versions of Safari (mobile and desktop).

The reported error is

  Viewport argument "" not recognized.  Content ignored.

The trailing space (between the ';' and the '"') should be ignored whitespace 
and should never cause a parsing error.  I wonder how many other places get 
this 
wrong.

If you do not have the error console enabled you might never figure out why 
your 
page just went TRULY bizarre.


Good day to all.

Brian





________________________________
From: RobG <[email protected]>
To: iPhoneWebDev <[email protected]>
Sent: Sat, October 9, 2010 1:02:57 AM
Subject: Re: HTML5 character encoding etc.



On Oct 9, 11:53 am, Jesse <[email protected]> wrote:
> If you have designed your web-app for the iPhone screen then you may want to
> prevent zooming.

I've already said I can't think of a good reason to do that, but
accept that someone might.

> This is a perfectly valid use of the meta-tags.
> This is especially relevant if you are packaging your webpage into a native
> app container like phonegap.
>
> Rob, Do you expect your contact list on the iPhone to zoom too?

Yes, why not? I wish I could, because sometimes in poor light or for
certain character combinations I find it difficult to read and rather
than get out reading glasses, it would be so nice to just zoom in a
little.

I can zoom e-mail (a non-web page HTML document). Why do you want to
stop me zooming contacts? One thing I like with iPone e-mail is that
when I rotate to landscape, it zooms a little by default. I would love
contacts to do that too.


> Just because it is a webpage, does not mean it is a 'webpage', html is a
> simple way to define the UI for an application as well.

Just because you think it doesn't look as cool when zoomed doesn't
mean I don't want to do it. It's the information that counts. If I'm
prevented from easily accessing information because zooming has been
deliberately disabled, I form a very low opinion of whoever designed
or developed the UI and I will not use it if there is any alternative.

For example, I have a GPS application that crams lots of information
on the screen so most is in a small font and difficult to read quickly
when doing something else (like sailing or bike riding). I'd love to
zoom so that only the speed is displayed and it fills the entire
screen. But I can't. Why not? Will it break the application? Will the
speed be incorrect? Of course not. The designer chose to cram stuff on
the screen and use a small, difficult to read font, then disable
zooming (or not enable it) so I can't read it easily. That's just
plain stupid.

I can use some other application that displays only the speed, but
then I don't get all the goodies I paid for with the GPS application
(like tracks, waypoints, etc.). So for the sake of allowing zooming, a
basic function that comes for free with iPhone, I don't have a
suitable GPS application.

PS. I ended up buying a bespoke GPS device that displays just speed
and records tracks, and leave the iPhone at home.


--
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


      

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to