Bob,
I do it with explicit links that leave the page, but it should work with
onbeforeunload to automate it. The return is taken care of in the app (model
kit). The return to model kit is handled in the Jmol ready callback. If the
special memory location is not null, then the memory data is loa
nice. Yes, saving the state would be more general:
Jmol.getPropertyAsString("stateInfo")
Otis, what events exactly are you using for triggering the save and restore
scripts?
> var stash = localStorage.getItem("chemagicTEMP”);
> if (stash == null || stash == undefined || stash == "") { stash = ""
2 matches
Mail list logo