hi sascha,
sorry, wenn ich jetzt so unwissend bin, aber wie bekomme ich jetzt die 2 koordinaten in meine javascript funktion? ;)
da ich grad nix zu tun hab, hab ich mal geschaut wie man das machen könnte, mein lösung wäre:
<script type="text/javascript">
function getXY() {
var url = document.location.href;
var coords = url.substring(url.indexOf("?")+1, url.length);
var x = coords.substring(0, coords.indexOf(","));
var y = coords.substring(coords.indexOf(",")+1, coords.length);
// Dummy-Ausgame
alert("x: " + x);
alert("y: " + y);
return new Array(x, y);
}
</script>
<a href="151525.htm" onclick="getXY(); return false;">
<img src="image.gif" width="150" height="150" ismap alt="Grafik">
</a>
wenn jemand eine elegantere lösung hat würde die mich auch mal intressieren!!
besten gruss,
robbe