User:Jaime Prilusky/JSmolExtension

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 27: Line 27:
== JSmol applet in the same page ==
== JSmol applet in the same page ==
 +
 +
<jmol>
 +
<jmolApplet>
 +
<signed>true</signed>
 +
<size>250</size>
 +
<script>load $NC(Cl)(C)O</script>
 +
</jmolApplet>
 +
<jmolMenu>
 +
<item>
 +
<script></script>
 +
<text>..choose..</text>
 +
</item>
 +
<item>
 +
<script>load $CCC(C)C</script>
 +
<text>CCC(C)C</text>
 +
</item>
 +
<item>
 +
<script>load $NC(C)C(O)=O</script>
 +
<text>NC(C)C(O)=O</text>
 +
</item>
 +
<item>
 +
<script>load $c1ccccc1</script>
 +
<text>c1ccccc1</text>
 +
</item>
 +
</jmolMenu>
 +
</jmol>

Revision as of 12:50, 1 June 2014

A few examples of supported tags using JSmolExtension.zip

JSmol applet in a popup window

jmolFile <jmolFile text="Explanatory text for link">Chair.xyz</jmolFile>

... 'and what is the use of a book,' thought Alice 'without pictures or conversation?'

jmolSmiles <jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles>

Both versions, using the target as a link or using an alternate text, are supported: nitrobenzene and c1ccccc1[N+](=O)[O-]

jmolAppletButton

jmolPdb <jmolPdb>3rec</jmolPdb> 3rec

JSmol applet in the same page

Drag the structure with the mouse to rotate

Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky

Personal tools