The key is to remove remove the maximum-scale attribute (or you can set it to a higher value like 2.0 or 3.0 if you want to limit the pinch-out) and set the user-scalable attribute to 1.
You don't want to remove the entire meta-tag. Hope that helps. Jim On May 12, 2010 9:30 AM, "Taufiq Yusuf" <[email protected]> wrote: Hello, I want to do pinch-in and pinch-out on an image (like zoom functionality) in iui based app. I know if i remove meta tag "<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>" it will enable this functionality but the layout gets disturb. I am removing the tag with javascript but it doesn't take the effect. any suggestions? Regards and Thanks Taufiq -- 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]<iphonewebdev%[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.
