I thought it was "reset", but I see now it is the "rotate x 90" which is 
cancelling the spin.

You should be ok using the conditional that I proposed, that checks spinning 
state BEFORE doing anything and later restores it.

And being so, I think it can be shortened to this alternative:

Jmol.jmolCheckbox(myJmol, "reset;", "reset; if (_spinning);rotate x 90;spin
on;else;rotate x 90;endif;", " Toggle Base-stacking view");
 

------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to