ok habe jez folgendes versucht zu erstellen mithilfe von paar tutorials aber das mit dem rollover will nicht klappen.. folgender Code
Code:
<html>
<head>
<title>
Deutschlandkarte mit Rollover
</title>
<s***** type ="text/javas*****">
sourceImage = new Image ();
function changeImage (target,image) {
sourceImage.src = Image;
document.getElementById(target).src = sourceImage.src;
}
</s*****>
</head>
<body>
<img src="Deutschlandkarte.png" width="443" height="599" border="0" />
<img style= "z-index:0; position:absolute; top:0px; left:0px;"id= "bundesland" src="bundesland.png" />
<img style= "z-index:1; position:absolute; top:0px; left:0px;"id= "bundesland" src="bundesland.png" usemap="#map" />
<map name="map">
<area shape="poly" coords="160,102,181,104,187,114,191,121,195,125,204,130,206,138,211,138,214,140,219,136,227,141,245,145,256,148,262,145,289,168,279,181,258,176,262,178,261,182,252,188,264,211,265,242,245,249,247,284,207,300,192,299,195,267,162,227,171,209,155,217,136,209,133,220,135,241,107,244,93,208,73,226,65,210,54,194,81,143,76,118,119,102,136,120,168,102,174,101,195,121,190,120" href="niedersachsen.html" onMouseOver="changeImage('bundesland','Niedersachsen.png');" onMouseOut="changeImage ('bundesland','bundesland.png');" />
</map>
</body>
</html>
das ist ne deutschlandkarte auf der das bundesland niedersachen eig. mit nen rollover ne grafik darüber läd aber das geht leider so nicht....
kann mir evtl. jemand weiterhelfen ????