Jmol-Testseite: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 32: | Zeile 32: | ||
<jmol> | <jmol> | ||
<jmolAppletButton> | <jmolAppletButton> | ||
<name>bagger_popup</name> | |||
<uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> | <uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> | ||
<text>3D-Popup</text> | <text>3D-Popup</text> | ||
| Zeile 37: | Zeile 38: | ||
</jmolAppletButton> | </jmolAppletButton> | ||
<jmolRadioGroup> | <jmolRadioGroup> | ||
<target> | <target>bagger_popup</target> | ||
<item> | <item> | ||
<script>zoom 100</script> | <script>zoom 100</script> | ||
Version vom 19. März 2009, 12:47 Uhr
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>
<name>bagger_popup</name>
<uploadedFileContents>bagger_ligand.xyz</uploadedFileContents>
<text>3D-Popup</text>
<script>spin on</script>
</jmolAppletButton>
<jmolRadioGroup>
<target>bagger_popup</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>