abend,
folgendes script ist im IE lauffähig und bewegt den div...:
<html>
<head>
<script type="text/javascript">
window.setInterval("Wandern()",50);
function Wandern() {
xAdd = 10;
curTopPx = document.getElementById("decke").style.top;
curTop = curTopPx.substr(0,curTopPx.length-2);
xnewTop = ((curTop*1) + (xAdd*1));
xnewTopPx = xnewTop + "px";
yAdd = 10;
curLeftPx = document.getElementById("decke").style.left;
curLeft = curLeftPx.substr(0,curLeftPx.length-2);
ynewTop = ((curLeft*1) + (yAdd*1));
ynewTopPx = ynewTop + "px";
document.getElementById("decke").style.top = xnewTopPx;
document.getElementById("decke").style.left = ynewTopPx;
}
</script>
</head>
<body>
<div id="decke" style="position: absolute; top: 100; left: 250; width: 0; height: 0;">
MOTIONLESS?</div>
</body>
</html>
HIH
mfg,
(tanz das)
Z.N.S.
<img src="http://www.dmp-web.de/comunicout/neubauten.gif" border="0" alt="">