Difference between revisions of "Jmol Applet"

From Jmol
Jump to navigation Jump to search
(Initialization from JmolWiki)
 
Line 1: Line 1:
 
=== Jmol Applet ===
 
=== Jmol Applet ===
  
[http://www.wikipedia.com/wiki/Java_applet Java applet] version of Jmol which allows Jmol to be embedded in web pages (given that viewers have a Java plugin installed). Like with the application, [[Scripting]] is available. For some demonstration pages see http://www.jmol.org/demo/. To see the HTML source use your web browser View → Page Source.
+
[[wikipedia:Java_applet|Java applet]] version of Jmol which allows Jmol to be embedded in web pages (given that viewers have a Java plugin installed). Like with the application, [[Scripting]] is available. For some demonstration pages see http://www.jmol.org/demo/. To see the HTML source use your web browser View → Page Source.
  
 
Additionally, Jmol can also be installed locally, e.g. on the hard disk or on CD. See [[Jmol Applet Deployment Local]].
 
Additionally, Jmol can also be installed locally, e.g. on the hard disk or on CD. See [[Jmol Applet Deployment Local]].
Line 7: Line 7:
 
=== Jmol in Wikis ===
 
=== Jmol in Wikis ===
  
The applet can be embedded in [http://www.wikipedia.com/wiki/HTML HTML] (or XHTML) pages (examples are listed on [[Websites Using Jmol]]), but also, with some extra technologies, in Wiki pages (see [[Jmol Processor]]).
+
The applet can be embedded in [[wikipedia:HTML|HTML]] (or XHTML) pages (examples are listed on [[Websites Using Jmol]]), but also, with some extra technologies, in Wiki pages (see [[Jmol Processor]]).
  
 
=== Unsigned vs. Signed Applet & Data Access ===
 
=== Unsigned vs. Signed Applet & Data Access ===

Revision as of 21:47, 28 March 2006

Jmol Applet

Java applet version of Jmol which allows Jmol to be embedded in web pages (given that viewers have a Java plugin installed). Like with the application, Scripting is available. For some demonstration pages see http://www.jmol.org/demo/. To see the HTML source use your web browser View → Page Source.

Additionally, Jmol can also be installed locally, e.g. on the hard disk or on CD. See Jmol Applet Deployment Local.

Jmol in Wikis

The applet can be embedded in HTML (or XHTML) pages (examples are listed on Websites Using Jmol), but also, with some extra technologies, in Wiki pages (see Jmol Processor).

Unsigned vs. Signed Applet & Data Access

The signed applet can load a molecular model from any http or ftp URL. However, the user will be asked to trust the signed applet. This could be problematic since the publishing authority (jmol.org) "cannot be verified", and the security certificate was issued by a group that is "not trusted" (jmol.org). This is because it would be costly and cumbersome for each version of the applet to be signed by a trusted (commercial) authority.

The unsigned applet displays the molecule without asking the user to trust it. However, it is limited (for security reasons) to loading molecular models from the same http domain (server) that downloads the applet itself. FirstGlance in Jmol uses the unsigned applet by default, but the signed applet will be used when that "Advanced Option" is checked. Thus you can easily see both applets in action. Methods for accessing data files from arbitrary servers are described in some detail at PDB Data File Access Methods.