Need: licence on index.htm In demo, fix ch_comp view3, 4 molecules. BUGS NOT FIXED: spinningSame only works when the view does not load a different molecule. This bug is not documented in the JTATDemo chapter on Spin Control, nor in jtatdocs.htm. BUGS FIXED: When the number of JSmols changed, spinprep.spt (spinning rate) was not initialized. spinningStarted[] needed to be set to false in CHANGES: query parameter ?view=N now loads the page making N the initial view. This was needed to work around the zombie JSmols that remained when the number of JSmols changed with a new view. See location.replace in dualquad.js for the new code. ------------------------ In January, 2018, Bob Hanson got the JTAT Demo working in JSmol. The changes from my 2016 attempt were: jsmol updated to 2017-12-14 version 14.27.2. 1. jsmol/JSmol.full.js NO CHANGE in the end. 2. jsmol/Jmol2.js - added "all" in jmolScript() 3. _jsutil/jsmol_info.js corrected paths 4. _jsutil/dualquad.js jtatdemo/contents/contents.htm -------------------------- 1. JSmol.full.js no net change. 2. jsmol/js/Jmol2.js - added "all" code: function jmolScript(script, targetSuffix) { if(targetSuffix=="all") { for (var app in Jmol._applets){ if (app.indexOf("__") < 0){ Jmol.script(Jmol._applets[app], script) } } } else{ Jmol.script(jmolFindTarget(targetSuffix), script) } } 3. jsmol_info.js < j2sPath: "../../jsmol/j2s", \n\ < jarPath: "../../jsmol/java", \n\ --- > j2sPath: "./j2s", \n\ > jarPath: "./java", \n\ 4. dualquad.js 4A. uncomment jhtml += makeOneJmol(jCount, ijmol); 4B. added jmolApplet1._cover(false); // hanson 4C. added ._code to apphtml += jmolApplet( [s_jwidth, s_jheight], readySpt, jNameSuffix)._code; Should be jmolAppletHTML() in Jmol2.js =============================== Further changes January 2018: Changed color to black in jsmol_info.js For each chapter As per jsmol.htm stolaf: top: inside : Fix Jmol2.js and precede by JSmol.full.js Add jsmol_info.js after keys.js gunzip any gzipped PDB files =============================== July 2018: Updated jsmol to 2018.06.15 Did not work until I changed the code in Jmol2.js jmolScript() to agree with #2 above. "all" was present but there were different lines of code. =============================== ===============================