Hi,
I've been looking for an answer on other posts with no luck, is this code
supposed to work?
<script type="text/javascript">
jmolInitialize("../jmol-11.0.1/");
jmolSetAppletColor("white");
jmolApplet(512);
jmolScript("load vdb/1stm.pdb;cpk off;wireframe off;cartoon
on;color structure;",0);
</script>
If I include "load... ;... " on the jmolApplet it works fine, but as it is
it starts the applet but it doesn't load the molecule (no error nor messages
at all).
if I only load the molecule in jmolApplet, however, it loads it fine, but
"cpk off;..." in jmolScript is not run (no error nor messages at all).
Is there a special place/way to call jmolScript?
Can I call jmolScript anywhere I want in the page (inside html script tags
or inside another js file <script src="./file.js"
type="text/javascript"></script>) after the applet starts?
Thanks for any help!
--
0 | Mauricio Carrillo Tripp, PhD
/ | Department of Molecular Biology
0 | The Scripps Research Institute
\ | 10550 North Torrey Pines Road
0 | La Jolla, California 92037
/ | [EMAIL PROTECTED]
0 | http://www.scripps.edu/
** Aut tace aut loquere meliora silentio **
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users