We used to have a call to javascript as part of the script text, but that is 
not longer working:

Jmol.script(jmol0,'load data/123.pdb; javascript alert(“Back”);’);

On the following example, the alert() happens before the script gets executed. 
The threading mechanism plays here against us. 

Jmol.script(jmol0,'load data/123.pdb; select all; color blue;');
alert(“Back”);

Suggestions? The set (callback) mechanism doesn’t seem to be the right choice.

Jaim
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to