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

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 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 like to

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 tested it

[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=739333987http://clavius.bc.edu/%7Epappy/clotelab/localmove/getResults.php?id=739333987 Except, I look for 'newOrientation' and only update on that. Seems to be a

Re: [Jmol-users] [Jmol-developers] JMol and Firewalls

2007-08-06 Thread Bob Hanson
appletDocumentBase= http://jmol.sourceforge.net/demo/dots/ By the way, the show saddles and cavities button should be removed -- that was an early debugging capability that was removed some time ago. Exception in thread AWT-EventQueue-2 java.lang.NullPointerException at

[Jmol-users] Top 5 MolVis Resources (eliminating Chime)

2007-08-06 Thread Eric Martz
Would you like to teach your students the easiest-to-use, state-of-the-art interactive 3D molecular visualization tools -- tools that they can expect to use for YEARS TO COME? Would you like to use such tools yourself in your research? Would you like to eliminate MDL Chime? Would you like

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

[Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
Anybody got a cure for these css blues? I have a Jmol layout that works solidly with the resizable applet in Firefox and Safari. However, in Internet Explorer (I know you are all shocked) the div that contains the applet is flat, and does not load the applet (no output at all in the Java

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 different

[Jmol-users] corrected CSS urls

2007-08-06 Thread Frieda Reichsman
Sorry- wrong URLs in my original post. Correct ones are: A simplified page that works in IE and not in Safari (that is, it uses a container div) is here: http://moleculesinmotion.com/test/containerSimple.htm The real test pages with all the other content and code are available too, in

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 Aug 6,

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

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread rhuehne
Quoting Frieda Reichsman [EMAIL PROTECTED]: Anybody got a cure for these css blues? I have a Jmol layout that works solidly with the resizable applet in Firefox and Safari. However, in Internet Explorer (I know you are all shocked) the div that contains the applet is flat, and does not load

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Bob Hanson
those links don't work [EMAIL PROTECTED] wrote: Quoting Frieda Reichsman [EMAIL PROTECTED]: Anybody got a cure for these css blues? I have a Jmol layout that works solidly with the resizable applet in Firefox and Safari. However, in Internet Explorer (I know you are all shocked) the

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
Hi Rolf, thanks for your suggestions. However, the problem is reproduced in the simple version of the page (first URL below), which does not have the errors that arise from the more complex versions that lack some dependent files. Since the very simple, error-less page reproduces the

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Bob Hanson
try jmolApplet([100%, 95%] instead of jmolApplet(100%, 95% [EMAIL PROTECTED] wrote: Quoting Frieda Reichsman [EMAIL PROTECTED]: Anybody got a cure for these css blues? I have a Jmol layout that works solidly with the resizable applet in Firefox and Safari. However, in Internet Explorer

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread rhuehne
Quoting Frieda Reichsman [EMAIL PROTECTED]: Hi Rolf, thanks for your suggestions. However, the problem is reproduced in the simple version of the page (first URL below), which does not have the errors that arise from the more complex versions that lack some dependent files. Since the very

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
On Aug 6, 2007, at 4:27 PM, [EMAIL PROTECTED] wrote: I didn't observe any different behaviour of the simple page http://moleculesinmotion.com/test/containerSimple.htm; in Firefox 1.5.0.12 and IE 7.0.5730.11. The applet loads in both cases and is resized when the window is resized. The

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
On Aug 6, 2007, at 4:27 PM, [EMAIL PROTECTED] wrote: By the way, 2 of the 3 error messages are still shown in the simple page. Wow, my mistake! I apologize... too many different version of the page have been tried, I guess. Will look into it, thanks. Hmmm, I find no errors on the page

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
Wait!! Dice!! Still testing to confirm... On Aug 6, 2007, at 4:32 PM, Frieda Reichsman wrote: On Aug 6, 2007, at 4:27 PM, [EMAIL PROTECTED] wrote: I didn't observe any different behaviour of the simple page http://moleculesinmotion.com/test/containerSimple.htm; in Firefox 1.5.0.12 and IE

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
no dice, but thanks - good thought... On Aug 6, 2007, at 4:18 PM, Bob Hanson wrote: try jmolApplet([100%, 95%] instead of jmolApplet(100%, 95% [EMAIL PROTECTED] wrote: Quoting Frieda Reichsman [EMAIL PROTECTED]: Anybody got a cure for these css blues? I have a Jmol layout that

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
By adding the brackets, the applet now appears in Safari but has a height and width of about 300 px, no matter what. This is one of the defaults in Jmol.js for allowedWidth I think, so apparently using the brackets I got Jmol's attention but the size is still not behaving as I would like.

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread rhuehne
Quoting Frieda Reichsman [EMAIL PROTECTED]: On Aug 6, 2007, at 4:27 PM, [EMAIL PROTECTED] wrote: By the way, 2 of the 3 error messages are still shown in the simple page. Wow, my mistake! I apologize... too many different version of the page have been tried, I guess. Will look into it,

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 almost

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Bob Hanson
The real problem appears to be that you are using height=100% for the applet but are not indicating height=100% in all tables that contain it. Once that is fixed, the noContainer version should work. Note also that if you use overflow: auto, I think you have to specify a height. Otherwise the

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
Thanks, Rolf, I have removed the reference to std.css which was a leftover, and corrected the height (missing semi-colon). I see now the reason I was not seeing these errors has to do with using a FF extension called Firebug for debugging. Now I know I have to check the FF built-in error

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 appear synchronized

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 http://chemapps.stolaf.edu/jmol/docs/examples-11/sync4.htm Although they don't appear synchronized at all to me. Jason, on what

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 a border go

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
On Aug 6, 2007, at 5:54 PM, Bob Hanson wrote: The real problem appears to be that you are using height=100% for the applet but are not indicating height=100% in all tables that contain it. Once that is fixed, the noContainer version should work. Unfortunately, no. I still get an

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Bob Hanson
[100%, 95%] not [100%, 95%] Frieda Reichsman wrote: On Aug 6, 2007, at 5:54 PM, Bob Hanson wrote: The real problem appears to be that you are using height=100% for the applet but are not indicating height=100% in all tables that contain it. Once that is fixed, the noContainer

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
On Aug 6, 2007, at 6:19 PM, Bob Hanson wrote: [100%, 95%] not [100%, 95%] jmolApplet(['100%', '95%'], script 3d/loading.spt; script 3d/ 01_begin.spt); Does not change the result. Frieda- This SF.net email is

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
On Aug 6, 2007, at 5:58 PM, Frieda Reichsman wrote: What I have discovered is that a height and width error are picked up by FF when I use the improper Jmol.js syntax for height and width of the applet, leaving out the brackets,that is, using (100%, 95%) instead of ([100%, 95%]) But, with

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Bob Hanson
The code should read: jmolApplet(['100%', '95%'], script 3d/loading.spt; script 3d/01_begin.spt); or jmolApplet([100%, 95%], script 3d/loading.spt; script 3d/01_begin.spt); the first parameter is an array -- [a,b] -- where a = 100% and b = 95% Frieda Reichsman wrote: On Aug 6, 2007, at

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Frieda Reichsman
Thank you, thank you, thank you. I did not understand the syntax for an array. In conjunction with removing the table altogether, the containerSimple layout now works in all three browsers I am testing. I assume I'll be able to extrapolate to the more complex page. Thank you Bob and Rolf

Re: [Jmol-users] css quandary with resizable applet

2007-08-06 Thread Bob Hanson
Frieda Reichsman wrote: On Aug 6, 2007, at 5:58 PM, Frieda Reichsman wrote: What I have discovered is that a height and width error are picked up by FF when I use the improper Jmol.js syntax for height and width of the applet, leaving out the brackets,that is, using (100%, 95%) instead of

[Jmol-users] a Jaavscript question

2007-08-06 Thread Rajarshi Guha
Hi, this is not really a Jmol question, but it is part of a Jmol based app and the Jaavscript guru's are here! So, I have a web page within which is an image map. When I click on an area of the image map I would like to popup a window and fill it with some contents. I have so far got

Re: [Jmol-users] a Jaavscript question

2007-08-06 Thread Bob Hanson
Rajarshi, see http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm and http://chemapps.stolaf.edu/jmol/docs/examples-11/new.js Look for the word popup In particular, these pop up the document http://chemapps.stolaf.edu/jmol/docs/examples-11/JmolPopup.htm, which goes back to the page that