Pat, you have quote problems. That's the reason for the javascript error. You 
cannot use 
double-quotes inside double-quotes, but you must alternate single quotes with 
double quotes.
Since the pmesh command requires filename in double quotes, you have to use 
single 
quotes outside
Try this:

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




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