This was to complicated for me, i think i just go the easy way and put
a picture of the map. Cant do this, thank you anyway!

On 3 Jan, 17:43, Andrew Leach <[email protected]> wrote:
> On Jan 3, 4:26 pm, Ali A <[email protected]> wrote:
>
>
>
> > My simple google maps works only in firefox, I created this map by
> > following a turtorial online.
>
> > Here is the link to the page:http://www.sveja.se/swe/?page=contact
>
> > it is not working in explorer, safari or chrome.
> > What's wrong? I have very basic programming skills to be able to find
> > the error, and I hope that u can explain this to me if you find the
> > soloution in a "basic programming language" = )
>
> Your Javascript code has <br /> at the end of each line. You can't mix
> HTML inside Javascript like that. I'm surprised it worked at all.
>
> > Here is the code that I put into my cms
>
> The code you quote here doesn't look like what's in the page -- use
> "View Source" in the browser. You correctly have "var" in your page
> instead of "each", but it's probably the CMS which has inserted the
> HTML tags at the end of each line.
>
> I guess the answer will be to extract the Javascript code, that is
> just what is **between** the <script> and </script> tags -- don't
> include the tags themselves -- and put that into a separate file,
> called say "mapcode.js". Then you can simply include that by replacing
> the remaining <script>...</script> tags with
> <script src="mapcode.js" type="text/javascript> </script>
> rather like the reference to the API code you have in your snippet.
> That keeps the code outside the CMS and should prevent corruption.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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/google-maps-api?hl=en.

Reply via email to