(original) (raw)
https://chemapps.stolaf.edu/jmol/jmol.php version 1.1.11 8/18/2022
Easy Jmol insertion into a web page
This site allows insertion of a Jmol applet into a web page with nothing more than a simple inline format (displays applet on current page): options: &source=... (option 1) file source of model, starting with http:// &model=... (option 2) compound name or SMILES string for NIH CACTVS server test &pdbid=xxxx (option 3) PDB ID for model from RCSB test &pdbid=xxx (option 4) PDB ID for ligand from RCSB test &id=... optional id for applet (necessary if multiple applets are on a page) &isfirst=true set this false if this is not the first applet on the page; only for inline &inline optional return JavaScript to create applet on current page &link=... optional text for xxxx tag for a popup window &script=... optional script (should be simple) &scriptvar=... optional predefined script variable (JavaScript variable name or function, not the script itself; &inline only) &width=... optional width, e.g.: 300 or 100% (default 600) &height=... optional height, e.g.: 300 or 100% (default 600) &caption=... optional caption (only for anchor-type - not &inline and no &link) &title=... optional title (not &inline) &image2d=true option to produce an image, not a JSmol window
anchor example: https://chemapps.stolaf.edu/jmol/jmol.php?model=aspirin&caption=aspirin model
popup example:
inline example:
caffeine | tylenol | morphine (2D) |
---|