Hi,. I think it used to work with Google Drive until about 5 years ago. I had a blogpost on my blog showing the caffeine molecule in Jmol as proof. The export to web function in Jmol automatically generates some simple web pages that display views you design within the Jmol application. You can edit the . My apologies for the vague question. A few clarifications on what I would like to do: Google Sites () is a free website hoster and editor.
|Published (Last):||21 February 2010|
|PDF File Size:||11.55 Mb|
|ePub File Size:||19.71 Mb|
|Price:||Free* [*Free Regsitration Required]|
With the exception of a few wrapper classes, the Jmol Applet code is shared with the Jmol Application. The applet is tested and working with Internet Explorer, Netscape, Opera, Mozilla and derivatives and Konqueror on various platforms. Below joml given the testing results. Verified Error on jmol-applet. Applet was not compiled with a classic compiler.
Jmol Wiki – Jmol Applet
This is an compilation problem. Verified Error on cdk-cml.
CML lib was not compiled with a classic compiler. The environment variable was not recognized by the JVM, which in return did not start. This is a OS problem. To embed the Jmol Applet in a web page, you need only one java archive file, JmolApplet. All classes and data files are included in this file. Put this file in the directory on your webserver. Renders atoms and bonds as shaded spheres and cylinders.
Unfortunately, the news is not good for Macintosh OS X. Internet Explorer does not support LiveConnect. Neither does Safari which is based upon Konqueror. I have not yet checked Netscape on OS X. In order to reference an applet on an HTML page the applet must be given a name.
We recommend that you use the name ‘jmol’ as in:. If you would like to have multiple instances of the applet on a single page then you should give them unique names. With some browser versions you can sneak by without starting object references with ‘document’.
However, this does not work with many browsers. Therefore, we strongly recommend that you start all your references with ‘document’.
Therefore, assuming you have named your applet ‘jmol’, all your references to the applet will start with ‘document.
To get things to run on an nmol base of older Netscape and IE browsers you may want to consider looking for ‘old’ documentation rather than ‘up to date’ documentation. One good reference source is http: At times it may be more convenient to store the contents of the molecular model as a string in the HTML file itself. The ‘loadInline’ method allows you to load a molecular model of this type. Controls whether or not rotations should be performed with wireframe rendering.
This should not be needed except on embee large molecules or very old computers. By default, atoms are rendered with perspective depth. That is, objects further away are smaller. When perspective depth is set to false you get a flat projection which is orthogonal to the screen. The different projection modes are easily visible with crystaline structures or when the enclosing boundbox is turned on, as in:.
Scripting commands are the emmbed under the applet as under the Jmol application. However, with the applet you do not have the feedback of the script command window.
Jmol implements most of the scripting language found in the RasMol molecular visualization tool. For more detailed documentation on RasMol scripting see http: Jmol implements some of these script language extensions.
This listing gives brief descriptions of the commands. The RasMol commands which are currently not implemented in Jmol are generally those associated with protein visualization: In addition, the Jmol rendering engine does not currently handle intersecting spheres. So if you make the atom sizes large you will get disappointing results. In general, the first of these methods is only acceptable for short scripts.
For longer scripts it is probably better to store the script files on the server and run them indirectly through the ‘script’ command. All of the following examples load the molecule caffeine. Various ways of invoking scripts are embec.
Table of Contents Testing results. Embedding the Jmol Applet in a Web Page. Table jml Contents Scripting References Ways to integrate scripts. Ways to integrate scripts.