In jmol.jar, "load "";" works as advertized, reloading the current molecule
and thus resetting all the changes I have applied to the representation of the
molecule before doing the reload. This would be an extremly useful option, if
it would also work in a script.

In a script that is placed within the HTML-page, of course you can't use
the command in this form, as the first quotes would signal to _javascript_
the end of the text string that contains the Jmol commands.

Since I am normally not writing _javascript_ routines myself, it took quite a
while for me to figure out what by using "load \"\";", I could overcome this hurdle.
Please add this information to the _javascript_ interactive Scripting
Documentation, for the benefit of those users that like me are not sufficiently
familiar with _javascript_ to immediately see the problem.

However, I have not yet found out how to specify a reload of the molecule in
an external script file:

load ;
load "" ;
load load \"\";

all result in error messages. Can you help me on this one, Please?

                         Thank you very much

                                               Annemarie




________________________________________________________

Dr. Annemarie Honegger, Ph.D.
Zürich University, Dept. of Biochemistry
Winterthurerstr.190
CH-8057 Zürich
Switzerland

Tel.: 41-44-635 55 62
Fax: 41-44-635 57 12
_______________________________________________________




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to