To find all code points, search for "before jmol.js". debugging: showSptInWindow() ------------------- January 2010: Copied version 1.44 (only remained to finish updating notes.htm) as fgij/fgij-jjs, and added Jmol.js to fgij. fg.htm does NOT have
tags and I did not add them. I used jmolSetCallback before jmolApplet. jmolScriptWait or jmolScript? (in top.js) Wait caused help/control panels not to load after Jmol loads. Did not investigate. Recommended method for notifying javascript that applet has loaded: end intial script with javascript appletLoaded() and define that function. -------------- PROBLEMS 1. SAFARI: every view change causes Jmol to flicker black. This is also caused by the slideshow Key Resources image changing (as it had been in Firefox but there it blanks white, no black flash; slideshow was disabled for firefox.). Removing all refresh false/true commands did not cure this. I spent some time comparing my pre-Jmol.js applet tag (which has no black flashes) with the Jmol.js object tag, but could find no fix for the latter. Does JTAT which uses Jmol.js have the Safari flashing problem? FIREFOX all OSX versions (see 0notes.htm): Fails to get pdb header. ConSurf no go. FileManager opening file:/Volumes/FGIJ/localTestPDBFiles/1d66.pdb java.security.AccessControlException: access denied (java.io.FilePermission /Volumes/FGIJ/localTestPDBFiles/1d66.pdb read) ADVANTAGES: Maybe some for javaless computers? Resizing took only a change from applet size pixels to %! -------------- jmolSetDocument is what controls whether or not functions write or return strings. (Not used in fgij.) CONSIDER ALSO USING: jmolCheckBrowser jmolDebugAlert URL ending ?NOAPPLET will show commands sent to applet as text, instead of loading the applet.