Dear All,
1) I try to display molecules with the basic HTML page (below) on my laptop, i.
e. _locally_; not on a server.
- When the CML file is in the Jmol directory the molecule display works fine:
<html><head><title>TEST</title>
<script src="../000jmol-10.00.48/Jmol.js"></script></head>
<body><form><script>
jmolInitialize("../000jmol-10.00.48/");
jmolApplet(200, "load ../000jmol-10.00.48/benzene.cml");
</script></form></body></html>
However, the display does _not_ work if "../000jmol-10.00.48/benzene.cml" is not
a regular file, but a symbolic link to a file located somewhere else in the file
system. WHY ?
- When the CML file is NOT in the Jmol directory, but in the working directory
for instance the molecule display DO NOT work. Why ?
<html><head><title>TEST</title>
<script src="../000jmol-10.00.48/Jmol.js"></script></head>
<body><form><script>
jmolInitialize("../000jmol-10.00.48/");
jmolApplet(200, "load ./benzene.cml");
</script></form></body></html>
2) Now, on a server, it seems that the location of the CML in the file system
does not matter, i. e. it does not need to be located _IN_ the Jmol directory.
Where is the trick ?
Thanks, regards, Francois
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users