OK, a new idea for applet synchronization.
Please tell me if it works:

http://www.stolaf.edu/people/hansonr/jmol/test/json/sync.htm

It's not fully articulated, but the basic idea being tested
here is direct applet-applet communication via a static appletRegistry

All I'm interested in knowing is if the page loads and after clicking
the links below the four applets and then dragging one or more of
the models around, you see things start moving in sync.

Implementation, using Jmol-new.js:

jmolSync(<mode>,<targetSuffix>)

where <mode> is one of:

"ON"   --driver of synchronization
"SYNC" --synced, but not a driver
"OFF"  --not synced (not quite working yet)

This uses a new public applet method, syncScript(), which
allows control of synchronization and passing of a reorientation script.

The method uses NO JavaScript -- the applets identify themselves
within a common registry and then talk directly to each other.

Part of the idea here is to experiment with this sort of direct
communication -- calling functions in a different applet.
I suspect there will be browser/platform issues.

Just a start. All I have time for today.

Bob Hanson


Issues:

I know, it probably


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to