Hab ich gemacht:
<script type="text/javascript">
function runter(a, b, i) {
a = a + 1;
b = b + 1;
document.getElementsByTagName("img").style.left = a + "px";
document.getElementsByTagNames("img").style.top = b + "px";
i++;
if (i >= 2000) {
window.clearInterval(moving);
}
moving = window.setInterval("runter(a,b,i)", 10);
}
</script>
klappt trotzdem nicht! warum?