HI jmolSetTarget("all") is not working. All controls after this command don't work.
Regards Alok On 7/26/05, Miguel <[EMAIL PROTECTED]> wrote: > > 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("Applet2Name"); > > 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("all"); > > All jmolButton/jmolCheckbox/jmolScript/jmolRadioGroup/jmolMenu calls after > that point will be directed to all of the applets that appeared statically > in the file before the control. > > > Let me know if you have troubles. > > > Miguel > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users