< User:Jaime Prilusky(Difference between revisions)
|
|
(9 intermediate revisions not shown.) |
Line 1: |
Line 1: |
- | <div style='background-color:#66FF66;padding:5px;'>
| + | * [[User:Jaime_Prilusky/JSmolExtension/Simple Tags|Simple Tags]] |
- | == A few examples of supported tags using [http://proteopedia.org/wiki/support/JSmolExtension/JSmolExtension.zip JSmolExtension.zip] ==
| + | * [[User:Jaime_Prilusky/JSmolExtension/Tags for In-page Models|Tags for In-page Models]] |
- | </div>
| + | * [[User:Jaime_Prilusky/JSmolExtension/Tags_for_Controls|Tags for Controls]] |
- | == JSmol applet in the same page ==
| + | <!-- * [[User:Jaime_Prilusky/JSmolExtension/Tags for Pop-in Models|Tags for Pop-in Models]] --> |
- | <jmol><jmolApplet>
| + | * [[User:Jaime_Prilusky/JSmolExtension/Tags for Pop-up Models|Tags for Pop-up Models]] |
- | <title> wikiPageContents </title>
| + | * [[User:Jaime_Prilusky/JSmolExtension/Demo|Demo]] |
- | <float>right</float>
| + | |
- | <color>red</color><size>200</size>
| + | |
- | <uploadedFileContents>chair.xyz</uploadedFileContents>
| + | |
- | <pspeed>2</pspeed>
| + | |
- | <caption>Some caption here, enabled for wikitext, i.e double square brackets [[3rec]]</caption>
| + | |
- | <controls>spin popup</controls>
| + | |
- | </jmolApplet></jmol>
| + | |
- | | + | |
- | * <caption> Text displayed below the applet
| + | |
- | * <captioncss> CSS style for Caption
| + | |
- | * <color> Applet background colour
| + | |
- | * <controls> Draws control buttons [ all | spin | quality | popup ]
| + | |
- | * <float> [ left | right ] | + | |
- | * <frame> true: draws frame around applet | + | |
- | * <pspeed> Platform speed for applet [ 1 .. 8 ]
| + | |
- | * <script> Jmol script, i.e. ''load $NC(Cl)(C)O;''
| + | |
- | * <size> Applet side in pixels
| + | |
- | * <title> Text displayed on top of the applet
| + | |
- | * <titlecss> CSS style for Title
| + | |
- | * <animgifurl> URL for animated GIF to display before rendering the model
| + | |
- | * <uploadedfilecontents> renders uploaded structure
| + | |
- | * <urlcontents> renders structure from URL
| + | |
- | * <wikipagecontents> renders content from wiki page
| + | |
- | | + | |
- | == JSmol applet in a popup window ==
| + | |
- | | + | |
- | '''jmolFile''' <nowiki><jmolFile text="Explanatory text for link">Chair.xyz</jmolFile></nowiki >
| + | |
- | | + | |
- | ... 'and what is the use of a book,' thought Alice 'without <jmolFile text="pictures">Chair.xyz</jmolFile> or conversation?'
| + | |
- | | + | |
- | '''jmolSmiles''' <nowiki><jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles></nowiki>
| + | |
- | | + | |
- | Both versions, using the target as a link or using an alternate text, are supported:
| + | |
- | <jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles>
| + | |
- | and
| + | |
- | <jmolSmiles>c1ccccc1[N+](=O)[O-]</jmolSmiles>
| + | |
- | | + | |
- | '''jmolAppletButton'''
| + | |
- | <jmol>
| + | |
- | <jmolAppletButton>
| + | |
- | <uploadedFileContents>Chair.xyz</uploadedFileContents>
| + | |
- | <text>show Chair</text>
| + | |
- | </jmolAppletButton>
| + | |
- | </jmol>
| + | |
- | | + | |
- | '''jmolPdb''' <nowiki><jmolPdb>3rec</jmolPdb></nowiki> <jmolPdb>3rec</jmolPdb>
| + | |
- | | + | |
- | | + | |
- | <!--
| + | |
- | <jmol>
| + | |
- | <jmolApplet>
| + | |
- | <signed>true</signed>
| + | |
- | <title>SMILES samples</title>
| + | |
- | <size>200</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>
| + | |
- | -->
| + | |