Hi,
I'm working on a web page that uses the DOM API to move elements within
the page in response to an onclick event. My problem is that in
Firefox (but not in Safari and IE) I can see everything move, almost
like an animation -- not what I want in this case. It appears that the
other browsers are not reflowing/redrawing the page until my event
handler returns. So my question: is there a function to explicitly
control this? Something like:
function handleClick() {
document.dontRedrawInResponseToDOMChanges();
... move 20 elements ...
document.okayNowYouCanRedrawAllAtOnce();
}
thanks,
Rob