Difference between revisions of "Jmol testpage"
From NMReDATA
(→this also works...) |
(→this also works...) |
||
Line 33: | Line 33: | ||
<caption>demo - note: needs at least one char on first line of inline content</caption> | <caption>demo - note: needs at least one char on first line of inline content</caption> | ||
<inlineContents> | <inlineContents> | ||
− | + | Menthol | |
OpenBabel02151916433D | OpenBabel02151916433D | ||
Line 102: | Line 102: | ||
</inlineContents> | </inlineContents> | ||
</jmolApplet> | </jmolApplet> | ||
+ | |||
== This also works == | == This also works == | ||
+ | |||
<jmolButton> | <jmolButton> | ||
<script> spacefill on </script> | <script> spacefill on </script> | ||
Line 110: | Line 112: | ||
<jmolLink> | <jmolLink> | ||
− | <script> spacefill | + | <script> spacefill 2% </script> |
<text> ball and stick </text> | <text> ball and stick </text> | ||
<target> C </target> | <target> C </target> | ||
Line 154: | Line 156: | ||
<item> | <item> | ||
<text> green </text> | <text> green </text> | ||
− | <script> color green </script> | + | <script> color green </script> |
</item> | </item> | ||
</jmolRadioGroup> | </jmolRadioGroup> |
Revision as of 18:40, 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>500</size> <script> echo Hi there! </script> </jmolApplet> </jmol>
</tr>