MarvinSketch Applet Examples
Version 5.2.2
- 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 cutom one.
- GUI customization
The Graphical User Interface is customized to use the ISIS/Draw-like
configuration.
- 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.
- 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 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.
- 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-2009
ChemAxon Ltd.
All rights reserved.