This module adds a display formatter for the file field type to display molecular structure files in a Jmol interactive Java or HTML5 applet. Using the applet, it is possible to interactively analyse the uploaded molecule structure in 3D.
Features
This package includes two modules: a file field formatter and example pages.
The formatter module settings include options to set:
the size of the applet
a number of exposed viewing styles (wireframe, sticks, ribbon, ...)
the default view style
a textbox for custom Jmol script input
the page alignment of the applet
the default measurements units (angstroms or nanometers)
When the example module is enabled three examples pages with Jmol applets are created for showcasing. The example module file jmol_examples.module under the examples subfolder includes additonal tips and instructions for:
Creating multiple pages with a Jmol applet programatically
Generating different content on different Jmol pages programatically