MarvinSketch Applet Examples
Version 5.8.1
- Basic examples
- Embedding MarvinSketch applet in HTML pages
The basic ways of creating Marvin Applets and embedding them in HTML pages. - Setting canvas colors
The color of the canvas can optionally be modified by applet parameters. - Specify a custom splash screen image
Specify a custom splash screen image to the MarvinSketch Applet. - Show all implicit Hydrogen atoms
How to remove explicit hydrogen atoms and show all implicit hydrogen atoms in applets. - Structure templates
Handling of custom and built-in template groups. - Abbreviated groups
Replacing the built-in abbreviated group collection with a custom one. - GUI customization
The Graphical User Interface is customized to use the ISIS/Draw-like configuration. - GUI customization with serialized config file
Read configuration of customized GUI from serialized config file. - Preload of modules in MarvinSketch
Certain modules are loaded in advance. - Loading reaction query drawing module in advance
Optimize MarvinSketch initalization for reaction query drawing.
- Embedding MarvinSketch applet in HTML pages
- Query atoms, extra bond types, disabling elements
Controlling the type of atoms and bonds to be used in the applet. - Visualization, loading molecules
- Loading a molecule in visualization mode, using magnification
Starting the applet in visualization (view only) mode i.e. the editing buttons cannot be seen. - Working with inline, compressed molfiles
Inline, compressed molfiles can decrease the download time of applets. - Triggering molfile download from JavaScript, naming the applet
Loading a molecule by pressing a HTML button. - Import/export of built-in and user defined molecule formats in JavaScript
Introducing molecule import/export with JavaScript using several molecular formats and HTML buttons. - Pure visualization mode I
Opening/closing MarvinSketch window by clicking on the image of the molecule. - Pure visualization mode II
Starting with a detached MarvinSketch window. - Visualizing 3D structures
How to convert the input structure to 3D. - Resizeable sketcher
- Loading a molecule in visualization mode, using magnification
- Molecular property calculations
- Molecular property calculations with Chemical Terms
Formulating chemical expressions with JavaScript. - Calculating molecular properties on the fly
Every time the molecule is altered, the Chemical Terms expressions are re-evaluated and the results are updated.
- Molecular property calculations with Chemical Terms
- Examples for browsers without Java - JavaScript communication
- Retrieving a structure
Sending a structure from MarvinSketch to MarvinView for browsers without LiveConnect support. - Import/export of structures
Import/export of structures for browsers without LiveConnect support.
- Retrieving a structure
- Case studies - composite real-life examples
- Student examination
Student examination example for lone pair and radical electron settings having all helper options disabled. - Molecule transfer
Editing the structures of a molecule table with MarvinSketch
- Student examination
Do you have a question? Would you like to learn more? Please browse among the related topics on our support forum or search the website. If you want to suggest modifications or improvements to our documentation email our support directly!


