Cheminformatics Programming Examples

[this page under development -- it shows injection of a Jmol model and controls into Drupal.]

Test button:

Note that it is funky getting back to edit of this page. It has something to do with z-index, but I'm not sure. Editing must be done with Text format Plain Text, but then saved in format Full HTML. When returning to edit, use the "Track" tab first, then click the "Edit" tag. Don't know why that is necessary...

This OLCC programming example page demonstrates getting a 2D drawing from PubChem using JavaScript.

Press the "test" button to evaluate the JavaScript in the textarea below.
Feel free to modify the JavaScript and press test again.