folgendes script dient einer mouseover funktion die
einfach mit href="#" onMouseOver="showWMTT('1')" onMouseOut="hideWMTT()" aufgerufen wird.
eingebettet ist das bei mir in eine php datei die wiederrum included ist in eine index.php
ich möchte nun, das bei mouse over das element nicht in der datei geladen wird wo der link steht, sondern in die index.php
Wie kann man das machen?
<script>
<!--
wmtt = null;
document.onmousemove = updateWMTT;
function updateWMTT(e) {
if (wmtt != null) {
wmtt.style.left = (60) + "px";
wmtt.style.top = (60) + "px";
}
}
function showWMTT(id) {
wmtt = document.getElementById(id);
wmtt.style.display = "block"
}
function hideWMTT() {
wmtt.style.display = "none";
}
//-->
</script>