Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Screen repaint without leaving the execution context?

4 views
Skip to first unread message

VK

unread,
Nov 28, 2007, 2:23:29 PM11/28/07
to
Is there any known trick to cause screen repaint without leaving the
execution context thus without using setTimeout workaround? On IE the
known way is

function _repaint() {
window.showModalDialog('javascript:document.writeln('.concat(
'"<script>', 'window.setTimeout(',
'function(){window.close();},10);','<','/script>")'));

}

and then

function todo() {
// DOM updates
_repaint();
// the rest of a lengthly process

}

Is any way to achieve the same functionality on Opera?


0 new messages