1) I don't see the necessary

<script language=javascript src=Jmol.js></script>

there.

2) Are JmolApplet0.jar - JmolApplet6.jar in http://www.wag.caltech.edu/home/rpm/Gallery

?





Rick Muller wrote:

A long time ago I put together a molecular gallery web page at:
http://www.wag.caltech.edu/home/rpm/gallery

This used a little Java applet that I wrote myself, and used JavaScript calls to update the molecule when the drop-down menu changed

I'd like to update this to use JmolApplet. I've tried to do something like:
<form>
<script>
jmolInitialize("../Gallery");
jmolApplet(300);
jmolBr();
jmolMenu([
"load gallery/c2h4.xyz",
"load gallery/c2h5cl.xyz",
["load gallery/c2h5oh.xyz","Ethanol"],
["load gallery/caffeine.xyz","Caffeine","selected"],
"load gallery/c2h6.xyz",
"load gallery/ccl4.xyz",
"load gallery/cf4.xyz",
"load gallery/cisrhodop.xyz"]);
</script>
</form>

but it isn't working. Is there something obviously wrong here? I've hacked around with the code, and I can load some script commands successfully from the menu (such as changing the background color). But loading a new model doesn't work for me. Can anyone help?


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

--

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


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