Katzehuhn
Erfahrenes Mitglied
Wenn man mit der Maus über ein Bild fährt solln Informationen über dieses Feld erscheinen.
<script type="text/javascript" language="JavaScript">
function textAndPic(obj, text) {
document.getElementById("bla").firstChild.nodeValue = text;
obj.firstChild.setAttribute("src", pic);
}
</script>
<?php
$blubb3 = "test";
echo '<a href="index.php?site=map2&b='.$kox2.'&a='.$koy2.'" onMouseOver="textAndPic(this, '.'$blubb3'.');">
<img src="bilder/max.GIF" width="60" height="60" border="0">
</a>';
?>
<div id="bla" style="display:inline;"> </div>
Weis jemand was ich falsch mache? das Bild wird zwar angezeigt jedoch wenn ich mit der Maus drüberfahre werden die Infos nicht aufgelistet!
Danke für Tips!
<script type="text/javascript" language="JavaScript">
function textAndPic(obj, text) {
document.getElementById("bla").firstChild.nodeValue = text;
obj.firstChild.setAttribute("src", pic);
}
</script>
<?php
$blubb3 = "test";
echo '<a href="index.php?site=map2&b='.$kox2.'&a='.$koy2.'" onMouseOver="textAndPic(this, '.'$blubb3'.');">
<img src="bilder/max.GIF" width="60" height="60" border="0">
</a>';
?>
<div id="bla" style="display:inline;"> </div>
Weis jemand was ich falsch mache? das Bild wird zwar angezeigt jedoch wenn ich mit der Maus drüberfahre werden die Infos nicht aufgelistet!
Danke für Tips!