Hope this helps:

"Detect if an Applet is ready"
http://www.rgagnon.com/javadetails/java-0176.html

> A question for you javascript mavens.
>
> I'm trying to help the SageMath people with their Jmol interface.  I need
> to get some information about directories through the messageCallBack
> mechanism and am running into issues with the order applets are loaded.
> When a page with many applets is loading the load order is unpredictable
> and I am finding that the message callback information seems to get
> garbled as to which applet the message comes from (maybe the messages are
> overlapping).  I have no way of knowing ahead of time how many applets are
> on a page as they are created on the fly by the server.
>
> Anyway.  I think my problem would be solved if I could simply run a
> function that queries each applet in sequence _after_ they have all
> loaded, rather than having each applet send a message callback as it
> finishes loading.  So I'm looking for a way to know that the page is ready
> for me to do this.
>
> Any ideas?
>
> Thanks,
> Jonathan
>                          Dr. Jonathan H. Gutow
> Chemistry Department                                [email protected]
> UW-Oshkosh                                          Office: 920-424-1326
> 800 Algoma Boulevard                                FAX:920-424-2042
> Oshkosh, WI 54901
>                 http://www.uwosh.edu/facstaff/gutow
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to