pixel by pixel
> (this_div.style.left = old_position+1+"px";). It calls itself recursive
> by the window.setTimeout() method (1ms timeout). On all other browsers
> (IE, Netscape, Opera) this thing works fine, but Mozilla lets this
> move so slow, that you really might waste your time, if you visit the
> page...
> So where's the problem and how can I fix it? I also tried the
> window.setInterval() method, but it's really the same result. If you use
> while{ }, then the
doesn't "move", it rather is on the endposition
> from the beginning.
> Can anybody help me?
This isn't the correct group for questions about DHTML. This newsgroup
is for discussion of the implementation of the JavaScript Language in
Mozilla. I've set the followup to npm.dom.
First, 1ms is too short of a time interval. Mozilla and MSIE will both
use a value closer to 15-16ms when shorter intervals are used.
I tried a testcase on a both fast (3Ghz) and slow (300Mhz) machines and
found that Mozilla, Mozilla Firefox both trunk and 1.7 branches behaved
similarly to IE.
Perhaps you could point to a public url or attach a testcase for us to
look at.
.