MarvinSketch Applet Examples
Version 14.9.29.0
- 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.
- 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 functionalities
- 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.
- Import/export of image formats in JavaScript
Introducing image export with JavaScript using several image 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
- 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.
- Examples to retrieve structures
- Retrieving a structure
Sending a structure from MarvinSketch to MarvinView for browsers.
- 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
Copyright © 1998-2014
ChemAxon Ltd.
All rights reserved.