Hervé,
Let your button call a javascript function, and in this function you
send any script to any applet you like
document.jmol1.script('script1...');
document.jmol2.script('script2...');
In this way one can construct toggle buttons as well, which I don't find
in the current jmol.js
Is this
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
2 matches
Mail list logo