El 20 Sep 2013 a las 9:59, Cox, Arthur G. escribió:
>     Does not seem to work in this example, even after the change to 
>     JmolAppletSigned.jar : http://medchemresource.com/

That error usually means it is not finding the applet files (or there 
is a cached file).

Your source:
        var jmoljarpath = ".."; // where JmolApplet*.jar is to be found on a 
server
    var jmoljspath = "..";  // where Jmol.js is to be found on a server
    var jmoljarfile = "JmolApplet0.jar";  // set to JmolApplet0.jar to use 
incremental loading of parts as needed. 
        var jmollocaljarpath = "."; // where JmolApplet*.jar is to be found 
locally
    var jmollocaljspath = ".";  // where Jmol.js is to be found locally
    var jmollocaljar ="JmolApplet.jar";  //JmolApplet.jar is everything in one 
file 
        var dataDir = ".";       // where the model AND .spt files are to be 
found. Used by JmolPopIn.js
        changePathIfLocal();
        if (jmoljarpath =="."){
            jmoljarfile="JmolAppletSigned.jar"; //use the unitary applet 
instead of incremental
            }


so it's told to use ../JmolApplet0.jar
unsigned and in the parent folder:  no way!  I guess your applet 
files at at the (root) same folder, are they not?
Then you need

  var jmoljarpath = ".";
  var jmoljspath = ".";  

and if it does not work (I think if should if it's in the server), 
change to
  var jmoljarfile = "JmolAppletSigned0.jar";

although that's probably been done anyway by the line
  if (jmoljarpath =="."){  

If you are in local, the signed applet is what is called by the 
original code, at the same folder as the page (what E2W is generating 
in a folder)
.
I'm confused by your URL. What is your folder arrangement?



------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to