From: Miguel <mi...@jm...> - 2005-07-27 01:21:26
|
> Is there a way to apply same control settings to > multiple applets. I mean control settings like > spin on, cpk 100%. So I am imagining one control > bar at the bottom and when I switch on the spin on > it, all applets on the page also have the spin on. Alok, Try the attached Jmol.js file. It will require a relatively recent prerelease of Jmol > 10.00.20 Normally, one says jmolSetTarget(=22Applet2Name=22); or jmolSetTarget(0); // send to jmolApplet 0 ... first on the page jmolSetTarget(3); // send to jmolApplet 3 ... 4th on the page With this version of Jmol.js you can say jmolSetTarget(=22all=22); All jmolButton/jmolCheckbox/jmolScript/jmolRadioGroup/jmolMenu calls afte= r that point will be directed to all of the applets that appeared staticall= y in the file before the control. Let me know if you have troubles. Miguel |