Jmol-Testseite: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
KKeine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 6: | Zeile 6: | ||
<jmol> | <jmol> | ||
<jmolApplet> | <jmolApplet> | ||
<name>bagger_inline</name> | |||
<uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> | <uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> | ||
<script>spin on</script> | <script>spin on</script> | ||
</jmolApplet> | </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> | </jmol> | ||
Version vom 19. März 2009, 12:45 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> <uploadedFileContents>bagger_ligand.xyz</uploadedFileContents> <text>3D-Popup</text> <script>spin on</script> </jmolAppletButton>
</jmol>