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

From Proteopedia
Jump to navigation Jump to search
Eric Martz (talk | contribs)
No edit summary
Eric Martz (talk | contribs)
No edit summary
Line 2: Line 2:


==Providing JSmol==
==Providing 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).
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 [https://en.wikipedia.org/wiki/JavaScript 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 [https://www.netmarketshare.com/browser-market-share.aspx web browser].


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

Revision as of 00:02, 5 March 2017

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