Dear jmol-users:
I want to use jmolRadio to control some signal variable of my own, that is
when it is selected, the signal variable will be set or reset, how can I do
this?
The code I wrote is like this:
var script = "load 1dwd.pdb; ......";
var model = "radio 1";
var signal = "on";
jmolRadio(script+"signal = 'off';", model, false, "  ");
What I thought is that when jmolRadio is selected, the script, that is the
first parameter of jmolRadio function will be executed, so I add my own script:
"signal = 'off'", hoping my own script will be executed, but actually, my own
script has not been executed.
Does Jmol allow users to execute their own scripts? If so, how can I do it?
Please help me, thanks very much!
best wishes
Zengming Zhang ,[email protected]
2009-04-22
Tel: +86-0571-86971772
Mobile:+86-13408688196
MSN: [email protected]
QQ: 454705936
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users