We do this all the time and have no problem.  There are a few steps.

1.  First use a slightly different meta tag to start with --

<meta name="viewport"  content="width=devicewidth; initial-scale=1.0;
maximum-scale=10.0; minimum-scale=1.0; user-scalable=0;"/>

2.  Here is our script for "turning on zooming"

<script type=application/javascript> // set viewport to "zoomable"

var mets=document.getElementsByTagName("meta");
for (j=0;j<mets.length;j++)
        if (mets[j].name == 'viewport')
                break;

if (mets[j])
        mets[j].content = mets[j].content.replace('user-
scalable=0','user-scalable=1');
</script>


3.  In order for any javascript at all to work inside an Ajax loaded
page such as iui uses you need to follow previous threads on this
topic such as:

http://groups.google.com/group/iphonewebdev/browse_thread/thread/f4ca5e9698848209/94bd63a5b591b79b?lnk=gst&q=javascript+execution#94bd63a5b591b79b

(There is a lot of discussion about javascript execution inside iui).



-- 
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