The image will be placed on page1.html, within the new site. Here are the steps that can be used to embed a Jmol image in a web page. To set up a site for serving web pages containing Jmol images using GoLive, Place these eight files in the root directory of the site, along side the index.html, the home page for the site:.A description of the functions included in the Jmol.js library can be viewed by clicking here. You should also include the Jmol.js file, which contains a library of JavaScripts that can be used to greatly simplify the embeding of Jmol images into web pages.Only seven of the files need to be included in the web site the seven numbered JmolApplet#.jar files.
The software is downloaded as gzipped tar file, which when expanded, comprises a folder containing the following files: Version 10.00.43, which was used in creating this tutorial, can be downloaded by clicking here. The Jmol applet software is open source and the most recent version can be downloaded from the website. For this to work, the Jmol applet code must be reside in the web site that serves pages containing Jmol images. The software required for a browser to view a Jmol image is downloaded to the browser when a web page containing Jmol image is loaded into the browser.
There are no plugins that need to be installed for a browser to view a web page containing a Jmol image. Because Jmol is Java based, it does not require anything of the browser except that it be Java capable. It contains an initialization script which highlights and orients it to look like the image on. Setting Up a Site for Embedding Jmol Images:īelow is an embedded Jmol image.