moin moin,
ich habe mir aus der Google MAP API eine sog. "Visitor MAp" erstellt...
diese Seite wird anstandslos im FF geladen, hingegen der IE mir mit folgender Fehlermeldung abschmiert:
http://img2.freeimagehosting.net/image.php?36f3a0fd2c.jpg
anbei der code...
[Code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>tracked visitors to my website using Google Maps</title>
<link rel="stylesheet" href="map.css" type="text/css" />
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAXmhacr8Bv6l_CNfS95aD0BTutoXPl_75z_GMp4WMHpb2oS3FWxTEHIKhR2KMuqbpEbUEzGm1deg9NQ" type="text/javascript"></script>
<script type="text/javascript" src="scripts/ufo.js">
</script>
<style type="text/css">
<!--
.style1 {
color: #a19271;
font-weight: bold;
}
.style2 {
color: #343434;
}
-->
</style>
</head>
<body onload="setpoints();">
<table width="85%" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="li">
<p> </p></td>
<td>
<!--ende aussentab-->
<table width="740" border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr>
<td id="linkleiste">mapping you... </td>
</tr>
</table>
<!--ende oben-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" id="sp2">Text
<div id="map" align="center" style="width: 580px; height: 380px"></div>
<script type="text/javascript">
//<![CDATA[
var icon = new GIcon();
icon.image = "dot.png";
icon.shadow = "dot.png";
icon.iconSize = new GSize(7, 7);
icon.shadowSize = new GSize(7, 7);
icon.iconAnchor = new GPoint(4, 4);
icon.infoWindowAnchor = new GPoint(4, 1);
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.centerAndZoom(new GPoint(0, 40), 16);
function setMark(point, icon) {
var dest = point;
var bild = icon;
var mark = new GMarker(dest, icon);
GEvent.addListener(mark, 'click', function() {
map.centerAndZoom(dest, map.getZoomLevel()-2);
});
return mark;
}
function setpoints() {
map.addOverlay(setMark(new GPoint(8.8333, 47.7667), icon));
}
//]]>
</script><br></br>
<p>
<input name="button" type="button" class="style2" onclick="javascript:window.close()" value="close window" />
</p>
</td><!-- ende inhalt-->
</tr>
<tr>
<td colspan="2" id="fussleiste">text</td>
</tr>
</table>
</td>
<td class="re">
<!-- aussentab-->
<p> </p></td>
</tr>
</table>
</body>
</html>
[/Code]
laut validator.w3.org ist der code astrein XHTML 1.0 Transitional, daher bin ich nun nämlich komplett ratlos. Wäre sehr nett, wenn mir jemand etwas beiseite stehen könnte :)
vielen Dank, Sebastian