I am having troubles with my google maps javascript in IE7.
Try : http://www.ozlittleindia.com/directo...w/16-groceries
This works fine in firefox. But in IE7, I get an object expected error at line 458 :
map = new GMap2(document.getElementById("map_canvas"));
I am not sure why it seems like it is able to find the div with the id – but not create the GMap2 object.
I have moved my google maps js to the top – between the head tags.
Also, I have added window.onload = initialize to make sure that the js is being called on after the body loads.
I tried googling it up but found no answers.
Any ideas? Thanks.







Bookmarks