Difference between revisions of "Jmol testpage"
From NMReDATA
(→Using script) |
|||
Line 102: | Line 102: | ||
</inlineContents> | </inlineContents> | ||
</jmolApplet> | </jmolApplet> | ||
− | + | == This also works == | |
<jmolButton> | <jmolButton> | ||
<script> spacefill on </script> | <script> spacefill on </script> | ||
Line 161: | Line 161: | ||
− | + | == Using script == | |
− | |||
− | |||
− | |||
<jmol> | <jmol> | ||
<jmolApplet> | <jmolApplet> |
Revision as of 08:01, 2 March 2019
Note that I could not find a
includes/mime.types
file in main wiki folder ...
- Newer MW versions locate that in
includes/libs/mime/mime.types
I may be related: I could not manage to allow the upload of .sdf .mol . But .cml files works (I followed these instructions)
this works
<jmolSmiles>aspirin</jmolSmiles>
<jmolFile>Chair.cml</jmolFile>
this also works...
demo - note: needs at least one char on first line of inline content
|
Using script
This box might hold a 3D model |
<jmol> <jmolApplet> <name>A</name> <title>This box might hold a 3D model</title> <color>blueTint</color> <size>150</size> <script> echo Hi there! </script> </jmolApplet> </jmol>
</tr>