Dear all,
I'm trying a page with two Jmols using Jmol-JSO. My code is like this:
var myJmol1,myJmol2;
var myInfo = {
height: '50%',
width: '100%',
jarFile: "JmolApplet.jar",
jarPath: JmolPath,
j2sPath: JmolPath + "/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";' );
When I set it to use the Java applet (use: 'Java HTML5'), both are displayed.
But when I try to use HTML5 only, I get no display, just the two yellow
topbars
Jmol._Canvas2D (JSmol) "myJmol1"[x]
Jmol._Canvas2D (JSmol) "myJmol2"[x]
and an error in the Info console (which output goes into the page in this
case)
loadScript ../j2s/java/package.js
Application loaded.
loadScript ../j2s/core.z.js ------- ClazzNode
loadScript ../j2s/core.z.js ------- w3c script failed
I'm using a recent set of JSmol files (obtained 2 days ago). I am trying to
download the latest now, but is it not easy, so I thought first to ask if this
ticks
some ideas.
Thanks
------------------------------------------------------------------------------
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