Hello, Daniel

First of all, Jmol has "save state" and "restore state" which will most likely 
do what you need. 
Check the documentation for details.

Second, your description of the problem makes me think that the result you see 
depends on 
what your page controls are doing to **hide** the protein.
Best --and easier than the former-- is to use the "display" and "hide" 
commands, and not 
maybe "restrict" or "cartoon off". The former are easily reversible.
So if your checkbox executes "display displayed,protein" or even "display all", 
and "hide 
hidden,protein"  or even "hide all", the state is preserved.
Otherwise, add "save state" and "restore state" commands to your actions and 
the state will 
be kept and retrieved from memory.

Good luck and let us know the outcome.


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to