Thanks for replying. The answers translated in added headaches :-) I just want to get that map work and get on with my website. So.... in much of google api map examples, the script is in the head tags. I have done exactly so here www.sacred-egypt.com/ancient_egypt/cities/map2.html All the maps I made before this one worked that way. I really dont know why that one does not. If you could tell me the detail that has to be changed, I would be so grateful. Cheers! Michael And sorry for the lack of experience!
On Sep 5, 5:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 5, 7:39 am, mikaj <[EMAIL PROTECTED]> wrote: > > > Hello all, > > I would like some help to figure out what went wrong. > > I have a working map here:www.sacred-egypt.com/ancient_egypt/cities/map.html > > I have copied and paste the entire javascript into another page but > > that one does not work.www.sacred-egypt.com/ancient_egypt/cities/menu2.html > > It would make my day if someone could have a quick look. > > the first map has the script in the body, just before the </body> tag > the second map has the script in the head, but still executed inline. > That won't work. ([MAJOR SIMPLIFICATION] you either have to put the > script in a function defined in the <head> and executed with an onload > event or put it at the end just before the </body> and execute it > inline...) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---