Jmol-Testseite
Das hier ist ein Test für die Darstellung von 3D-Molekülen mit Jmol
Variante 1: Darstellung im Fließtext
Die Bedienelemente (Buttons, Radiogroups, Checkboxen etc.) sowie alle <script>-Befehle sind natürlich allesamt OPTIONAL.
<jmol>
<jmolApplet> <name>bagger_inline</name> <uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> <script>spin on</script> </jmolApplet>
</jmol> <jmol>
<jmolRadioGroup>
<target>bagger_inline</target>
<item>
<script>zoom 100</script>
<text>Zoom: 100 %</text>
</item>
<item>
<script>zoom 200</script>
<text>Zoom: 200%</text>
</item>
<item>
<script>zoom 400</script>
<text>Zoom: 400%</text>
</item>
</jmolRadioGroup>
</jmol>
Variante 2: Darstellung als Popup-Fenster
<jmol>
<jmolAppletButton> <uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> <text>3D-Popup</text> <script>spin on</script> </jmolAppletButton>
</jmol>