I am trying to use a nice little piece of script that will place a google map on my contact page. You’ve all seen this and it should be pretty simple however being a JS beginner I’m having trouble. The script is on a PHP page which I am using to load my head tag throughout my website. I am getting an error on every page except my contact page where the map is. I figure it is looking for that map div before it has had a chance to load but I’m not sure what to do. I tried placing my script in the body but still am receiving the error. Is there a different onload event I can use or…?
Here’s the page: http://s298435232.onlinehome.us
I would appreciate any help with this. Thanks