I would suppose so -- just replace the div's .innerHTML field with other HTML. When I do that on one of my pages I see in the Java console:

Jmol applet jmolApplet0__68594828243417__ destroyed

So that should be that!

On Sat, Sep 26, 2009 at 7:27 AM, Jonathan Gutow <gutow@uwosh.edu> wrote:
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                                 gutow@uwosh.edu
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900