Thanks, Angel.

Rick

On Apr 22, 2006, at 8:21 AM, Angel Herraez wrote:

Rick, I copied the code from your previous message and it works with both
jmolInitialize(".")
or
jmolInitialize("./")

I think you have a problem with the folders. This is my setup:

A folder where the page is and where the applet files are (JmolApplet0.jar to 6.jar, plus
Jmol.js).
Below it, a folder named "gallery", where the xyz files are.
The page:
<html>
<head>
<title>Molecular Gallery</title>
<script language=javascript src="Jmol.js"></script>
</head>
<body bgcolor="#ffffff">
<center><img src="molgallery2.jpg" alt="Molecular Gallery"></center>
<form>
<script>
jmolInitialize(".");
jmolApplet(300,"load gallery/caffeine.xyz");
jmolBr();
jmolMenu([
"load gallery/c2h5oh.xyz",
"load gallery/caffeine.xyz"
]);
</script>
</form>
</body></html>

PS: Yo should use
<script type="text/javascript"
instead of
<script language=javascript




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


Rick Muller
[EMAIL PROTECTED]






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