User:Jaime Prilusky/JSmolExtension
From Proteopedia
(Difference between revisions)
Line 4: | Line 4: | ||
<title> wikiPageContents </title> | <title> wikiPageContents </title> | ||
<color>red</color><size>200</size> | <color>red</color><size>200</size> | ||
- | < uploadedFileContents > | + | <uploadedFileContents>chair.xyz</uploadedFileContents> |
<pspeed>2</pspeed> | <pspeed>2</pspeed> | ||
<controls>all</controls> | <controls>all</controls> | ||
</jmolApplet></jmol> | </jmolApplet></jmol> | ||
- | |||
- | <jmol> | ||
- | <jmolCheckbox> | ||
- | <scriptWhenChecked>spin on</scriptWhenChecked> | ||
- | <scriptWhenUnchecked>spin off</scriptWhenUnchecked> | ||
- | <text>Spin</text> | ||
- | </jmolCheckbox> | ||
- | </jmol> | ||
Revision as of 08:19, 2 September 2014
JSmol applet in the same page
wikiPageContents |
Drag the structure with the mouse to rotate |
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