![]() |
![]() |
|
![]() |
![]() |
|
Programmierung Rat & Tat für Programmierer |
|
Themen-Optionen | Ansicht |
![]() |
#5 |
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
![]() 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) |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|