Difference between revisions of "Test div new"
From NMReDATA
(One intermediate revision by the same user not shown) | |||
Line 174: | Line 174: | ||
</jmol> | </jmol> | ||
</td> | </td> | ||
+ | |||
<td style="vertical-align:top;"> | <td style="vertical-align:top;"> | ||
+ | <nowiki> | ||
+ | <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></nowiki> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> |
Latest revision as of 09:34, 27 February 2019
Contents
Pop-up models
A user action will open a popup window with a model.
jmolFile tag..not yet... |
jmolMol tagThe link in your coffee will open a popup window displaying caffeine <jmolMol text='something in your coffee'>caffeine</jmolMol> |
jmolSmiles tagThe link nitrobenzene will open a popup window displaying nitrobenzene <jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles> |
jmolPdb tagThe link adipocyte lipid binding protein will open a popup window displaying 1ab0.pdb <jmolPdb text='adipocyte lipid binding protein'>1ab0</jmolPdb> |
jmolAppletLink tag |
Pop-in models
User action will insert a model within the page.
jmolAppletInlineLink tag
Using urlContents
Adipocyte lipid binding proteinIn-page models
A model is inserted as part of the page at page load time.
jmolApplet tag
Using uploadedFileContentsnot yet... |
|||
Using inlineContents
|
<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> |