> -----Original Message-----
> From: tedd [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 15, 2008 2:11 PM
> To: php-general@lists.php.net
> Subject: [PHP] Another question about Google maps
> 
> Hi gang:
> 
> I posted this question on the Google Map Discussion group/list
> thingie, but got zip in replies. Maybe someone here might have an
> idea.
> 
> Here's the url:
> 
> http://masoncollision.com/contact.php
> 
> In both Safari and FireFox for the Mac (I have not tested it with
> other browsers) as the page loads the map border is momentary drawn
> twice. The map border is shown stacked one above the other making the
> page much longer than it actually is. But immediately thereafter, the
> map is drawn correctly and the page returns to the size it's supposed
> to be.
> 
> I just want to get rid of the momentary flash.
> 
> Anyone have any ideas?

tedd, I think it might be displaying your extra divs (if there are any..
just skimmed the source momentarily) for a split second before they are
hidden with Javascript. Maybe try setting the CSS for your 3 map divs
(mapsearch, idlediv, searchdiv or whatever) to display:none and show
them when the page is loaded? Or give all 3 the same top/left
coordinates, etc...

Just a shot in the dark. I may read over the code a bit more if I get
some time later today. I'm no expert, but I've been working with the
Google Maps API rather extensively lately, and maybe I can offer a fresh
set of eyes.

HTH,


Todd Boyd
Web Programmer

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to