Note that you can put these headers right in your app and they will be
auto-inserted into the generated wrapper using the <wrapperheaders> tag:
<canvas>
<wrapperheaders>
<meta name = "viewport" content = "user-scalable=no,width=device-width" />
</wrapperheaders>
...
You may also want to add:
<link rel="apple-touch-icon-precomposed" href="...url to your custom
icon.png" />
in the <wrapperheaders>
On 2010-11-29, at 04:46, Raju Bitter wrote:
> Check the viewport setting for the HTML page, something like:
> <meta name = "viewport" content = "user-scalable=no,width=device-width" />
>
> - Raju
>
> On Sun, Nov 28, 2010 at 1:38 PM, Founder <[email protected]> wrote:
>>
>> When I set canvas to each 100% and the window to each 100% then I assume to
>> get a perfectly fitting window on the iphone 3G. But fact is, that you get a
>> perfect window which one still can move around.. I use dhtml ( a must). What
>> is going wrong here? I dislike using % because I want to surf to the APP
>> also by PC and there I want an iphone size window and nothing in % to screen
>> esolution. Also, I can make a window bigger than 320x480 = iphone max
>> site... Somthing near to 345x500, then it fills the iphone screen at
>> last?!?!?!
>>
>> Best,
>>
>> Duke2010
>>
>>
>>
>> --
>> Sent from Ubuntu
>>
>>
>