Full screen on iphone

156 visningar
Hoppa till det första olästa meddelandet

Stefano.pass

oläst,
6 aug. 2010 15:13:222010-08-06
till Google Maps JavaScript API v3
Hi to all, I've a problem creating a web page for iPhone.
I need to create a web page with only a map div that fit all the
screen (without the address bar).

I try to set width and height to 100% and I've add the script to hide
the bar (http://www.iphonemicrosites.com/tutorials/how-to-hide-the-
address-bar-in-mobilesafari/) but nothing...

Anyone can help me?
Thanks a lot
Stefano

Kesuke

oläst,
6 aug. 2010 21:01:332010-08-06
till Google Maps JavaScript API v3
Can you provide a link to the webpage you are making. It's impossible
for us to debug your code without seeing it.



On Aug 6, 8:13 pm, "Stefano.pass" <stefano.passiat...@gmail.com>
wrote:

Gabriel Svennerberg

oläst,
7 aug. 2010 04:44:052010-08-07
till Google Maps JavaScript API v3
Hi Stefano,

I recently wrote an article about how to this.
http://www.svennerberg.com/2010/07/google-maps-api-3-%e2%80%93-mobile-devices/

Best,
Gabriel

Stefano.pass

oläst,
7 aug. 2010 07:44:032010-08-07
till Google Maps JavaScript API v3
Hi Gabriels, thanks a lot... But I need this page without the address
bar of safari...
How it's possibile?

thanks Stefano

On 7 Ago, 10:44, Gabriel Svennerberg <gabr...@svennerberg.com> wrote:
> Hi Stefano,
>
> I recently wrote an article about how to this.http://www.svennerberg.com/2010/07/google-maps-api-3-%e2%80%93-mobile...
>
> Best,
> Gabriel

Stefano.pass

oläst,
7 aug. 2010 07:44:272010-08-07
till Google Maps JavaScript API v3
thanks, ASAP I publish the page...
thanks
Stefano

Stefano.pass

oläst,
9 aug. 2010 03:27:192010-08-09
till Google Maps JavaScript API v3
Hi! This is the page: http://forum.lineacomune.it/temp.html
If iphone the script add 60px to the height of map div and call the
function window.scrollTo(0, 1) to hide the bar but don't work...
thanks a lot
Stefano

Stefano.pass

oläst,
9 aug. 2010 03:51:032010-08-09
till Google Maps JavaScript API v3
Ok, I've resolved!!!
I call the initialize map function after create the div!
thanks
Stefano
Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden