User:Jaime Prilusky/JSmolExtension

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 28: Line 28:
== JSmol applet in the same page ==
== JSmol applet in the same page ==
 +
<jmol><jmolApplet>
 +
<title> wikiPageContents </title>
 +
<name>ethane</name><color>red</color><size>200</size>
 +
<wikiPageContents>ethane-s.pdb</wikiPageContents>
 +
</jmolApplet></jmol>
 +
 +
 +
<!--
<jmol>
<jmol>
<jmolApplet>
<jmolApplet>
<signed>true</signed>
<signed>true</signed>
<title>SMILES samples</title>
<title>SMILES samples</title>
-
<size>250</size>
+
<size>200</size>
<script>load $NC(Cl)(C)O</script>
<script>load $NC(Cl)(C)O</script>
</jmolApplet>
</jmolApplet>
Line 54: Line 62:
</jmolMenu>
</jmolMenu>
</jmol>
</jmol>
-
 
+
-->
-
<jmol><jmolApplet>
+
-
<title> wikiPageContents </title>
+
-
<name>ethane</name><color>red</color><size>250</size>
+
-
<wikiPageContents>ethane-s.pdb</wikiPageContents>
+
-
</jmolApplet></jmol>
+

Revision as of 06:24, 16 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

wikiPageContents 
Drag the structure with the mouse to rotate


Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky

Personal tools