Hi Mauricio
I think that "set defaultLoadScript" will oly work after the applet
has been inserted with "JmolApplet", and before the molecule is
loaded.
Since you are doing everything inline, it probably won't work.
You may get what you want using "jmolLoadInlineScript" instead of
"jmolLoadInline", so:
onClick="jmolLoadInlineScript(theMolecule, theDefaultScript)"
Maybe you could also do it:
jmolAppletInline(whatever)
jmolScript("set defaultLoadScript whatever")
and then
onClick="jmolLoadInline(theMolecule)"
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users