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.

Author: Didal Nekus
Country: Bhutan
Language: English (Spanish)
Genre: History
Published (Last): 10 September 2010
Pages: 209
PDF File Size: 15.30 Mb
ePub File Size: 1.48 Mb
ISBN: 137-7-90080-535-1
Downloads: 51157
Price: Free* [*Free Regsitration Required]
Uploader: Ner

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.

Jmol Applet

Below are given the testing results. Verified Error on jmol-applet. Applet was not compiled with a classic compiler.

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.

How-To: Easy Jmol Web Pages

Put this file in the directory on your webserver. Renders atoms and bonds as shaded spheres and cylinders. Shaded images are calculated and cached, so performance should not be an issue except when dealing with very large protein molecules.

Using JavaScript commands embedded in web pages, you can control the behavior of the Jmol applet. This flexibility enables you to create complex user interactions that are controlled using standard web page elements. The underlying technology that supports this is known as LiveConnect. The LiveConnect layer provides the data and method conversion interface between the JavaScript world and the Java world.


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 joml 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 ebmed 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.

JavaScript method references in this documentation will use this notation. Within a web page, there are several ways smbed invoke a JavaScript method based upon user events. One method is to use the ‘javascript: For further information on JavaScript programming we recommend that embrd search for JavaScript development resources on the web or at your nearest technical bookstore.

To get things to run on an installed 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 inn 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 very large molecules or very old computers.

Page 2: Embedding Jmol Images

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 joml or when the enclosing boundbox is turned on, as in:. Scripting commands are the same 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 ekbed them indirectly through the ‘script’ command.

All of the following examples load the molecule caffeine. Various ways of invoking scripts are demonstrated. A short script included as an applet parameter which is executed as soon as the applet is loaded. In this example, the script command is used to execute a longer script which is stored in the scripts subdirectory on the web server. This example uses onLoad to execute JavaScript which, in turn, drives the applet. Using buttons to call inn methods, each of which is driving a jmol animate script.

Table of Contents 1. Supported Browsers Testing results 3. Scripting Scripting References Ways to integrate scripts. Table of Contents Testing results. Embedding the Jmol Applet in a Web Page. Table of Contents Scripting References Ways to integrate scripts.

Ways to integrate scripts.