This interesting thing is that the current code works in Opera.
Phil
On Jun 12, 2004, at 3:12 AM, Miguel wrote:
1. In jmol, if I open a second window, the icons are missing in the
menu
bar except for the load one. If you clink at the right places on the
bar, the others show up.
Works for me on Linux. Don't recall any changes to this code.
In fact, the code for rendering the menubar is coming out of a standard
Java Library. Did Apple release updates to Java ... sounds like a
Java/Apple bug.
2. The applet seems to have broken my tutorial.
[snip]
<param name="script" value ="load 'molecule6/molecule6.pdb'; ...
Tim wrote:
you have extra single quotes in there.
[snip]
FileManager.openFile('molecule6/molecule6.pdb')
error opening
http://www.saintmarys.edu/~pbays/StChem/DCC/'molecule6/molecule6.pdb'
Tim is correct in that the problem is in the quotes.
Phil is correct in that this used to work. I think I changed/broke
this in
v10pre10. This is the first report I have received of a problem, so I
was
beginning to think that I could get away with it without anyone
noticing
:-)
Jmol no longer accepts single quotes in order to quote strings. My
reasoning is that we need to reserve the single quote character for
the '
prime. While it does not work yet, I want people to be able to write
atom
expressions using the ' prime as an alternate to the * used in .pdb
files.
The RasMol 2.6b2 doc only mentions quotes in the context of the 'echo'
command ... The string parameter may optionally be delimited in double
quote characters.
Therefore, I thought that I could get away with it.
Let's break this down into a few pieces ...
* In this case, your code will work fine if you remove the single
quotes
from around the filename. In fact, your other scripts that load other
molecules must not have the filename in quotes. Otherwise they would be
dying with the same problem.
* IF this becomes a problem in the future with other peoples' scripts,
then I will see if I can work on the script parser so that will do a
better job of distinguishing between the single quote for strings and
the
' prime for atom expressions.
Miguel
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users
J. Philip Bays
Professor of Chemistry
Science Hall 158
Saint Mary's College
Notre Dame IN 46556
(574) 284-4663
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users