Ich glaube, der fehler liegt im Quelltext der Website:
function bewegEbenen()
bewegLayerX(aEbeneAktuell[i], iPosAktuell)
1.) Woher soll das Unterprogramm bewegEbenen() wissen was i ist?
2.) bewegLayerX ruft document.all[welche] auf, daher muss "welche" eine id sein.
Probier mal folgenden Code:
function bewegEbenen(id){
iPosAktuell = iPosAktuell - 1;
bewegLayerX(id, iPosAktuell);
...}
bewegEbenelinks(id)
{
oInterval = window.setInterval('bewegEbenen(id);',1);
}
im Link: onClick="bewegEbenelinks(this.id)"
Hoffe das funktioniert.
Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
|