Ok, after sorting out my problems with the JSmol file set, I can now --again--
assert that where one JSmol works, two don't.
This is my test code:
var myJmol1,myJmol2;
var myInfo = {
height: '50%',
width: '100%',
jarFile: "JmolApplet.jar",
jarPath: '..',
j2sPath: "../j2s",
use: 'HTML5',
debug: false
};
myJmol1 = Jmol.getApplet("myJmol1", myInfo);
myJmol2 = Jmol.getApplet("myJmol2", myInfo);
Jmol.script(myJmol1, 'load "maltosa.sdf";' );
Jmol.script(myJmol2, 'load "celobiosa.sdf";' );
If I remove the lines for Jmol2, one JSmol displays OK. With both JSmols,
the loading chokes at the third line in the console report:
call loadScript ..\java\package.js
Application loaded.
call loadScript ..\core.z.js -- required by ClazzNode
call loadScript ..\core.z.js -- required by w3c script failed
Using two different Info variables does not help.
If I switch to use of Java, both applets display fine.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users