33 posts
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
grubforce says

Hi everyone,

Currently i’m creating a new theme with a contact page that uses the google maps api. Although ik got it to work in all browsers (even ie6 :-) it doesn’t work in IE7 !

here’s the code that i placed in the header:

<script type="text/javascript">

function initialize() {
var latlng = new google.maps.LatLng(35.221903,9.750301);
var myOptions = {
zoom: 10,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
navigationControl: false
};

var map = new google.maps.Map(document.getElementById("Googlemaps"), myOptions);

}

window.onload=function(){window.onload;initialize()};
window.onunload=function(){window.onunload;GUnload()};

</script>

If anyone knows how to solve this it would be great!

by
by
by
by
by
by