Hi Frieda
> I am getting a Javascript
> alert that Jmol cannot find Applet0.
By using custom names you probably need to specify the applet ID always, using
the target
parameter in jmolScript or the jmolSetTarget() command for buttons etc.
> This message appears only on the
> first time I
Frieda, you need to sync the applets using the syncScript option. Simplest
way is to interact only with one applet ,and then use:
jmolScript('sync . ON;sync > SLAVE;set syncScript on ')
This turns sync ON for the applet being sent the code, makes the other
applet a follower only, and sets the sc
I see the problem, I need to put "all" in quotes. (I had tried that
earlier without success, works now...)
Further question: When I rename the applet suffixes instead of using
the default names (that is, I specify a suffix, "rho" for example,
instead of the default numbering Jmol uses), I am
Hi Angel,
Thanks - I do want to affect both applets with a single jmolScript
call, but I cannot seem to get "all" to work. I am using Jmol 11.8.22.
So, for example, this sends the script to the second applet on the page:
one or all.
> I'm assuming you use Jmol.js.
>
> jmolScript() takes as its
Hi Frieda
I don't think you can do it for any two applets in one go. Either one or all.
I'm assuming you use Jmol.js.
jmolScript() takes as its 2nd argument the ID, which may be "all".
For buttons, you need to use jmolSetTarget() which I'm not sure if it accepts
the special "all",
but give it
Hi, can someone please remind me of how to tell a button to send its
script to more than one Jmol applet, and/or to all Jmol applets on a
page? I know this is documented somewhere...
Thanks,
Frieda
-
Frieda Reichsman, PhD
Senior Research Scientist
The Concord Consortium
http://concord.org
6 matches
Mail list logo