The  appletReadyCallback also sends a message when the applet is destroyed,
so that might work. Don't know if that it too late, though...

On Mon, Jul 16, 2012 at 10:38 AM, Michael Evans <[email protected]>wrote:

> Martin,
> You could use HTML5's local storage capabilities or server-side storage in
> a session variable to do this, but I don't think there's a simple way to do
> it using Jmol. You would use Jmol to set up a callback, however—probably a
> scriptCallback. In the callback function, you could save the state of the
> Jmol window to a local storage variable, and look for that variable when
> the page loads. That sets up a kind of "autosave" functionality. Tutorial
> on local storage:
>
> http://html5tutorial.net/tutorials/working-with-html5-localstorage.html
>
> Cheers, Mike
>
> ---
> Mike Evans
> Organic Chemistry Graduate Student, Moore Group
> University of Illinois, Urbana-Champaign
>
>
>
> On Mon, Jul 16, 2012 at 10:32 AM, Martin Hediger <[email protected]>wrote:
>
>> Dear Jmol Developers
>> Is it possible to set the applet in a way, such that when the user loads
>> a structure to the applet, hits a link, and then the "Back button", the
>> structure is still in the applet?
>>
>> Thanks for feedback.
>> Martin
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to