Heu Alle !
mir platzt gleich der kopf, hoff mir kann wer helfen..
ich möchte eine google map in die HP einbauen. soweit ist alles ok.
nur wie kann ich nach dem anklicken eines markers in dem dem pop up
fenster das danach geöffnet wird einen LINK einbauen.
vermute das ist nur meine unwissenheit mit JAVA.
wie plaziere ich einen marker bei dem sich ein fenster mit
anklickbarem text öffnet ?
wer kann mir das vervollständigen und sagen an welche position das
im quelltext kommt??
dankschön mal
********************************************
// Creates a marker at the given point with the given number label
function createMarker(point, number) {
var marker = new GMarker(point);
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("Marker #<b>" + number + "</b>");
});
return marker;
}
*********************************************
##### hier mein quelltext:####### omg, der smily gehört da unten nat. nicht rein
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAhS1ifIc-UDF4YtZSYRGBShTrTUuAQFubf44Bm8TnHLOu6TjYJBTPGgqECba3JfW6SBLbEZPyDVosYg"
type="text/javascript"></script>
<script type="text/javascript">
//<
);
}, 1000);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 500px; height: 500px"></div>
</body>
</html>