I am having a problem with the pmesh command. I am using the
following in my html file (using firefox under Mac OS X) to load a
model:
<script>
jmolApplet(600, "load models/7015glide.pdb; pmesh myPlane
"models/pmesh.txt"; cpk 0; wireframe off;" +
"select (atomno>=1 and atomno<=27);" +
"cpk 0.30; wireframe 0.10; set unitcell on; color
unitcell black; select silicon; color LimeGreen; " +
"select carbon; color LightGrey; zoom 60");
</script>
The Jmol applet is not loading and the javascript console is giving
the error message:
Error: missing ) after argument list
Source File: http://macxray.chem.upenn.edu/cells/7015glide2.html
Line: 67, Column: 64
Source Code:
jmolApplet(600, "load models/7015glide.pdb; pmesh myPlane
"models/pmesh.txt"; cpk 0; wireframe off;" +
The html file works OK without the pmesh command. I assume it
has something to do with the quotes!
Thanks,
Pat Carroll
U of Penn
X-ray Facility
-------------------------------------------------------------------------
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