Miguel wrote:

Bob wrote:


I'd like to switch the following app to jmol. Would you please take a
look at it and tell me if there is anything it can do with Chime that
can't be done with jmol?

http://www.stolaf.edu/people/hansonr/jmol/pi/


Unfortunatly, I do not normally have access to a system that has Chime
installed.

Can I ask why that is? I am running Chime on Netscape and IE on a PC (despite the fact that the MDL installer fails to install it in Netscape for some odd reason). Perhaps a PC/Windows machine is not available to you?


Bob




Note that this was written in the era when both IE and Netscape had
dropped "live connect" so it uses a hidden frame with code such as

<embed type=application/x-spt
hidden=true width=10 height=10 button=push
target=C0_42203168433687915
script="select *;color group" immediate=1>

to do all the driving.

Q: Is there anything like this in jmol that avoids Live Connect?


Yes, at Tim Driscoll's request we implemented a JmolAppletControl of type
'immediate' that will send the script as soon as it is loaded. This can be
put into hidden frame (or perhaps loaded into a hidden div? ... don't
know)


OK, that would be high on my priority list--I can't restrict my code to PC-only here.


Bob



Q: What's the history/future of Live Connect?


I think that LiveConnect is here to stay

IE supports it on Win32 (not on Mac).

Mozilla supports it on Linux & Win32 (I don't think on Mac yet)

Safari on Panther supports it.

Konqueror on Linux supports it.

There are some bugs, but it seems pretty stable.


Therefore, I suggest that you avoid using the 'immediate' hack and go ahead and use LiveConnect to send script commands directly to the JmolApplet.

Similarly, I recommend that you use HTML buttons tied to JavaScript rather
than JmolAppletControls (the equivalent of the Chime pushbuttons).


Of course, if this app doesn't work on your setup, please let me know
that, too!


I will see if I can find a machine where I can run it.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to