I believe I have seen this question asked and answered here before, I may even 
have asked it (though I sincerely doubt that I ever answered it).

So apologies in advance for retracing any overly familiar ground.

Is there some way to tell when a complex page has actually finished drawing?

I am trying to do some timing to see how much time various things take in the 
SVG DOM. If I add, for example, 3000 text nodes
using code like:

try{suspendHandle = Root.suspendRedraw(1000000000000);}
 catch(e){}
 D0=(new Date()).valueOf()
 for (i=0;i<3000;i++)addNode("text")
 try{Root.unsuspendRedraw(suspendHandle);}
 catch(e){}
 D1=new Date().valueOf()
display(D1)

I find that the second date object D1 is calculated and displayed before the 
text actually finishes drawing on the screen.

Is there another event that fires when all the rendering is complete?

David

[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to