This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.
Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.
User:Jaime Prilusky/JSmolExtension
From Proteopedia
| Line 1: | Line 1: | ||
| + | == JSmol applet in the same page == | ||
| + | |||
| + | <jmol><jmolApplet> | ||
| + | <title> wikiPageContents </title> | ||
| + | <color>red</color><size>200</size> | ||
| + | <wikiPageContents>ethane-s.pdb</wikiPageContents> | ||
| + | </jmolApplet></jmol> | ||
| + | |||
| + | <jmol> | ||
| + | <jmolCheckbox> | ||
| + | <scriptWhenChecked>spin on</scriptWhenChecked> | ||
| + | <scriptWhenUnchecked>spin off</scriptWhenUnchecked> | ||
| + | <text>Spin</text> | ||
| + | </jmolCheckbox> | ||
| + | </jmol> | ||
| + | |||
| + | |||
<div style='background-color:#66FF66;padding:5px;'> | <div style='background-color:#66FF66;padding:5px;'> | ||
== A few examples of supported tags using [http://proteopedia.org/wiki/support/JSmolExtension/JSmolExtension.zip JSmolExtension.zip] == | == A few examples of supported tags using [http://proteopedia.org/wiki/support/JSmolExtension/JSmolExtension.zip JSmolExtension.zip] == | ||
| Line 25: | Line 42: | ||
'''jmolPdb''' <nowiki><jmolPdb>3rec</jmolPdb></nowiki> <jmolPdb>3rec</jmolPdb> | '''jmolPdb''' <nowiki><jmolPdb>3rec</jmolPdb></nowiki> <jmolPdb>3rec</jmolPdb> | ||
| - | |||
| - | == JSmol applet in the same page == | ||
| - | |||
| - | <jmol><jmolApplet> | ||
| - | <title> wikiPageContents </title> | ||
| - | <color>red</color><size>200</size> | ||
| - | <wikiPageContents>ethane-s.pdb</wikiPageContents> | ||
| - | </jmolApplet></jmol> | ||
| - | |||
| - | <jmol> | ||
| - | <jmolCheckbox> | ||
| - | <scriptWhenChecked>spin on</scriptWhenChecked> | ||
| - | <scriptWhenUnchecked>spin off</scriptWhenUnchecked> | ||
| - | <text>Spin</text> | ||
| - | </jmolCheckbox> | ||
| - | </jmol> | ||
Revision as of 15:46, 16 June 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
