I have my own answer.  The question is does this really free up the  
memory space used by the applet.

My solution is to use document.write in javascript to replace the  
contents of the <div> containing Jmol with a picture in place of the  
applet.

Anybody investigated this?

Jonathan

Begin forwarded message:

> From: Jonathan Gutow <[email protected]>
> Date: September 26, 2009 7:27:53 AM CDT
> To: [email protected]
> Subject: When using multiple Jmols in a window can you "unload" one  
> of them?
>
> Has anybody figured out how to "unload" a Jmol applet from a window  
> and replace it with a picture?
>
> I was asked this question on the SAGE (www.sagemath.org, open source  
> mathematics/algebra system) discussion lists.  Some people are  
> running in to memory constraints when they have lots of Jmol plots  
> in the same web worksheet.  So the idea is to keep only one or two  
> active applets in a page at a time.
>
> 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
>
>
>
>
>

                          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






------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to