Is there an event that tells when the window is visible (painted, not black)?
My Xul app will run in a very slow system, and the "active" event of the Xul windows is called while my window is still not visible (the window area is black waiting for the w开发者_如何转开发indow to be painted). A second later the window is painted.
Is there an event that tells when the window is visible (painted, not black)?
Maybe the MozAfterPaint event will help you.
Does window.onload
work any better?
I think you are dealing with the limitations of old hardware :)
If there is an image in your page, you could try adding onload
to the image and see what happens...
If you are using a specific box, couldn't you use window.setTimeout()
?
精彩评论