Henw wrote: > document.jmol1.script('script1...'); > document.jmol2.script('script2...');
Or, using Jmol.js one can call: jmolScript('script1', 1); jmolScript('script2', 2); > In this way one can construct toggle buttons as well, which I don't find > in the current jmol.js These 'toggle' buttons are available in Jmol.js as jmolCheckbox('script-when-checked', 'script-when-unchecked', 'label-name', booleanIsCheckedByDefault); Miguel ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users