Difference between revisions of "Jmol testpage"
From NMReDATA
(→this does not work) |
(→this does not work) |
||
Line 26: | Line 26: | ||
</jmol> | </jmol> | ||
== this does not work == | == this does not work == | ||
− | |||
<jmol> | <jmol> | ||
<jmolApplet> | <jmolApplet> | ||
Line 32: | Line 31: | ||
<color>lightGray</color> | <color>lightGray</color> | ||
<size>240</size> | <size>240</size> | ||
− | <caption> | + | <caption>This is 1-propanol</caption> |
<inlineContents> | <inlineContents> | ||
+ | C10OH20 | ||
OpenBabel02151916433D | OpenBabel02151916433D | ||
Line 102: | Line 102: | ||
</inlineContents> | </inlineContents> | ||
</jmolApplet> | </jmolApplet> | ||
+ | |||
+ | <jmolButton> | ||
+ | <script> spacefill on </script> | ||
+ | <text> spacefill </text> | ||
+ | <target> C </target> | ||
+ | </jmolButton> | ||
+ | |||
+ | <jmolLink> | ||
+ | <script> spacefill 23% </script> | ||
+ | <text> ball and stick </text> | ||
+ | <target> C </target> | ||
+ | </jmolLink> | ||
+ | |||
+ | <jmolCheckbox> | ||
+ | <scriptWhenChecked> spin on </scriptWhenChecked> | ||
+ | <scriptWhenUnchecked> spin off </scriptWhenUnchecked> | ||
+ | <checked> false </checked> | ||
+ | <text> spin </text> | ||
+ | <target> C </target> | ||
+ | </jmolCheckbox> | ||
+ | |||
+ | <jmolMenu> | ||
+ | <target> C </target> | ||
+ | <item> | ||
+ | <text> color CPK </text> | ||
+ | <checked> true </checked> | ||
+ | <script> color cpk </script> | ||
+ | </item> | ||
+ | <item> | ||
+ | <text> blue </text> | ||
+ | <script> color dodgerBlue </script> | ||
+ | </item> | ||
+ | <item> | ||
+ | <text> green </text> | ||
+ | <script> color green </script> | ||
+ | </item> | ||
+ | </jmolMenu> | ||
+ | |||
+ | <jmolRadioGroup> | ||
+ | <target> C </target> | ||
+ | <vertical>false</vertical> | ||
+ | <item> | ||
+ | <text> color CPK </text> | ||
+ | <checked> true </checked> | ||
+ | <script> color cpk </script> | ||
+ | </item> | ||
+ | <item> | ||
+ | <text> blue </text> | ||
+ | <script> color dodgerBlue </script> | ||
+ | </item> | ||
+ | <item> | ||
+ | <text> green </text> | ||
+ | <script> color green </script> | ||
+ | </item> | ||
+ | </jmolRadioGroup> | ||
+ | |||
</jmol> | </jmol> |
Revision as of 15:16, 1 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 does not work
This is 1-propanol
|