Difference between revisions of "Jmol testpage"
From NMReDATA
(→Using script) |
|||
Line 167: | Line 167: | ||
<title>This box might hold a 3D model</title> | <title>This box might hold a 3D model</title> | ||
<color>blueTint</color> | <color>blueTint</color> | ||
− | <size> | + | <size>500</size> |
<script> echo Hi there! </script> | <script> echo Hi there! </script> | ||
</jmolApplet> | </jmolApplet> | ||
Line 179: | Line 179: | ||
<title>This box might hold a 3D model</title> | <title>This box might hold a 3D model</title> | ||
<color>blueTint</color> | <color>blueTint</color> | ||
− | <size> | + | <size>500</size> |
<script> echo Hi there! </script> | <script> echo Hi there! </script> | ||
</jmolApplet> | </jmolApplet> |
Revision as of 08:02, 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>