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