User:Eric Martz/How JSmol works: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
Line 13: Line 13:
The actual invocation generates the necessary HTML by a JavaScript call to Jmol.getApplet() or Jmol.getAppletHtml().
The actual invocation generates the necessary HTML by a JavaScript call to Jmol.getApplet() or Jmol.getAppletHtml().


Examples can be seen in the files '''supersimple.htm, simple.htm''', simple_old.htm, etc. These and other demonstration files will be found in the <u>jsmol</u> directory in the downloaded package from [http://jmol.sourceforge.net/download/ jmol.sourceforge.net/download]. You can drag these local files from the downloaded file set, and drop them into the '''Firefox or Safari''' web browsers (or Internet Explorer very slowly), to see the web pages they generate. (Local files that invoke JSmol do not work with Chrome or Edge.)
Examples can be seen in the files '''supersimple.htm, simple.htm''', simple_old.htm, etc. These and other demonstration files will be found in the <u>jsmol</u> directory in the downloaded package from [http://jmol.sourceforge.net/download/ jmol.sourceforge.net/download]. You can drag these local files from the downloaded file set, and drop them into the '''Firefox or Safari''' web browsers (or Internet Explorer, but it runs JSmol very slowly), to see the web pages they generate. (Local files that invoke JSmol do not work with Chrome or Edge.)


==Displaying Molecules==
==Displaying Molecules==