User:Eric Martz/How JSmol works

From Proteopedia
Jump to navigation Jump to search

This is a non-technical overview of how JSmol and Jmol) work in websites, such as Protopedia, FirstGlance in Jmol, and many others.

Providing JSmolProviding JSmol

A website has, at the very least, some hypertext markup language files (filenames ending .htm or .html). Usually there are also some image files (filenames ending .png, .jpg, .gif, etc.) for images that are displayed in the web pages. And usually there are also some javascript files (filenames ending .js) and some cascading style sheet files (filenames ending .css). Javascript (not to be confused with Java) is a programming language that is interpreted by the web browser.

In order to invoke JSmol, the files on the website server must also include