Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-07 Thread Bob Hanson
It turns out the problem is solved if you allow more than one driver. I have now implemented this, and it seems to work great. No switching necessary. Just the simple command: jmolScript("sync *") The problem I am having now is that synchronization is occuring across different web pages! But

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-07 Thread Jason Persampieri
> > >The slave applet is always one step behind the master applet. This is > >very obvious after zoom changes with the mouse scroll wheel. It is > >less obvious with rotations because of the very small difference, but > >the difference is still there. > > > > > > > There should be a slight delay, p

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Jason Persampieri
On 8/6/07, Bob Hanson <[EMAIL PROTECTED]> wrote: > > Jason Persampieri wrote: > > > Although they don't appear synchronized at all to me. > > > Jason, on what platform? PC or Mac? > > Are you seeing the borders go purple? (they should) > > Try clicking the []synchronized box a couple of times. Does

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Bob Hanson
Jason Persampieri wrote: > try these: > > http://chemapps.stolaf.edu/jmol/docs/examples-11/sync.htm > http://chemapps.stolaf.edu/jmol/docs/examples-11/sync4.htm > > > Although they don't appear synchronized at all to me. > Jason, on wha

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Bob Hanson
I'm having a bad-url day! Yes, that's the link... [EMAIL PROTECTED] wrote: >Quoting Jason Persampieri <[EMAIL PROTECTED]>: > > > >>try these: >> >>http://chemapps.stolaf.edu/jmol/docs/examples-11/sync.htm >>http://chemapps.stolaf.edu/jmol/docs/examples-11/sync4.htm >> >>Although they don't appe

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread rhuehne
Quoting Jason Persampieri <[EMAIL PROTECTED]>: > try these: > > http://chemapps.stolaf.edu/jmol/docs/examples-11/sync.htm > http://chemapps.stolaf.edu/jmol/docs/examples-11/sync4.htm > > Although they don't appear synchronized at all to me. > The first one (I didn't try the second one yet) is alm

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Frieda Reichsman
Thanks Jason, those URLs worked. On my Mac, OSX 10.4.10, these work GREAT in Safari. I am delighted that they automatically jump to the synced position when you have rotated them when NOT synched, and then sync again. But pages are terrific. In Firefox, the first page seems fine. On the s

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Jason Persampieri
try these: http://chemapps.stolaf.edu/jmol/docs/examples-11/sync.htm http://chemapps.stolaf.edu/jmol/docs/examples-11/sync4.htm Although they don't appear synchronized at all to me. On 8/6/07, Frieda Reichsman <[EMAIL PROTECTED]> wrote: > > Pages not found, from these links. > Frieda > > > On A

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Frieda Reichsman
Pages not found, from these links. Frieda On Aug 6, 2007, at 2:41 PM, Bob Hanson wrote: > If you are interested in this syncing business, please try > > http://chemapps.stolaf.edu/jmol/examples-11/sync.htm > > and > > http://chemapps.stolaf.edu/jmol/examples-11/sync4.htm > > > This is a totally

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Bob Hanson
If you are interested in this syncing business, please try http://chemapps.stolaf.edu/jmol/examples-11/sync.htm and http://chemapps.stolaf.edu/jmol/examples-11/sync4.htm This is a totally different way to sync the applets -- with applets talking directly to each other (no intermediate JavaScr

[Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Jason Persampieri
Cool. This is exactly what I've been doing (work-in-progress) http://clavius.bc.edu/~pappy/clotelab/localmove/getResults.php?id=739333987 Except, I look for 'newOrientation' and only update on that. Seems to be a lit

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Bob Hanson
So, Egon. Can you do some investigating and see where exactly it is crashing? Bob Egon Willighagen wrote: >Bob, > >On 8/6/07, Bob Hanson <[EMAIL PROTECTED]> wrote: > > >>See http://chemapps.stolaf.edu/jmol/docs/examples-11/compare2.htm >> >>I'm interested if this works on all browsers. I only

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Rolf Huehne
Bob Hanson wrote: > Eric Martz wrote: > >> I surmise that it is still not possible to make the mouse actions >> (rotate, zoom at least) in one jmol applet propagate to other >> specified jmol applets on the same web page, thereby synchronizing >> their mouse-controlled movements. Again, I'd lik

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Egon Willighagen
Bob, On 8/6/07, Bob Hanson <[EMAIL PROTECTED]> wrote: > See http://chemapps.stolaf.edu/jmol/docs/examples-11/compare2.htm > > I'm interested if this works on all browsers. I only tested it on a PC > running Windows with Firefox. It crashes Konqueror/Linux/SMP/x86_64 using Java HotSpot(TM) 64-Bit

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-06 Thread Bob Hanson
Tim points out that there are memory bugs (apparently) in the Mac implementation of Java that prevent this JavaScript method from being generally useful. That's disappointing but not entirely unexpected. So I won't claim to have solved this problem. But I have no time to work on it now. If some

Re: [Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-05 Thread Bob Hanson
Eric Martz wrote: >I surmise that it is still not possible to make the mouse actions >(rotate, zoom at least) in one jmol applet propagate to other >specified jmol applets on the same web page, thereby synchronizing >their mouse-controlled movements. Again, I'd like to advocate for this. > >

[Jmol-users] Mouse synchronization between 2 or more jmol applets

2007-08-05 Thread Eric Martz
I surmise that it is still not possible to make the mouse actions (rotate, zoom at least) in one jmol applet propagate to other specified jmol applets on the same web page, thereby synchronizing their mouse-controlled movements. Again, I'd like to advocate for this. Chime has mouse synchronizat