I'm having my students do an assignment using Jmol.  I had each one download 
Jmol 12.0.12 (latest at the time) and rename the folder to Jmol_XXX where XXX 
is there initials.  I then had them create a subfolder called JmolAssignment 
and download 1BF3 from the PDB and save it in the JmolAssignment folder.  They 
then opened 1BF3, did some stuff and used the export to web command to create a 
web page with some buttons to show off the molecule.  Once they were done with 
it I had them copy the Jmol_XXX folder containing all of their work to a 
Dropbox folder I shared with them.  I'm copying the folder to my desktop and 
opening the html file and the Jmol applet is not loading.  I'm getting an error 
that says "Result of expression 'applet.script' [undefined] is not a function." 
at line line 410 in Jmol.js which is in this section of code in the jmolScript 
function.

    } else {
      var applet=_jmolGetApplet(targetSuffix);
      if (applet) applet.script(script);
    }
  }

Any suggestions on what I'm doing wrong?


***********************************************
Jeff Hansen
Department of Chemistry and Biochemistry
DePauw University
602 S. College Ave.
Greencastle, IN 46135
[email protected]
***********************************************


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to