Difference between revisions of "User:AngelHerraez/Sandbox"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) |
AngelHerraez (talk | contribs) (remove The Toolbar section) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<!--applet load='1ea5' size='300' frame='true' align='right' caption='Insert caption here' /--> | <!--applet load='1ea5' size='300' frame='true' align='right' caption='Insert caption here' /--> | ||
+ | All these links should read [[#dummy|atención]] | ||
+ | |||
+ | Directly entered (ó): | ||
<jmol> | <jmol> | ||
<jmolLink> | <jmolLink> | ||
Line 7: | Line 10: | ||
<text>atención</text> | <text>atención</text> | ||
</jmolLink> | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | Hex Unicode entity (<nowiki>&#x00F3;</nowiki>): | ||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script>color background red;</script> | ||
+ | <text>atención</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | Dec Unicode entity (<nowiki>&#0243;</nowiki>): | ||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script>color background red;</script> | ||
+ | <text>atención</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | Hex Unicode percent (<nowiki>%F3</nowiki>): | ||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script>color background red;</script> | ||
+ | <text>atenci%F3n</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | In a button: | ||
+ | <jmol> | ||
<jmolButton> | <jmolButton> | ||
<script>color background red;</script> | <script>color background red;</script> | ||
Line 20: | Line 51: | ||
</jmolLink> | </jmolLink> | ||
</jmol> | </jmol> | ||
− | + | ||
+ | = Embedding applet in wiki page = | ||
+ | Jmol can read this format (not from file, just from a text string) as long as it can connect to a server that will do the conversion to a 2D or 3D format. To do this, you put a dollar sign before the SMILES string, or you use the smiles parameter. Note that the unsigned applet is not allowed connection to external servers ad so does not support this method. | ||
+ | |||
+ | Example, for isopentane: | ||
+ | load $CCC(C)C | ||
+ | load "$CCC(C)C" | ||
+ | load smiles "CCC(C)C" | ||
+ | |||
+ | Test here: | ||
+ | |||
+ | <jmol> | ||
+ | <jmolApplet> | ||
+ | <size>250</size> | ||
+ | </jmolApplet> | ||
+ | <jmolMenu> | ||
+ | <item> | ||
+ | <script>load $CCC(C)C</script> | ||
+ | <text>CCC(C)C</text> | ||
+ | </item> | ||
+ | <item> | ||
+ | <script>load $NC(COO)C</script> | ||
+ | <text>NC(COO)C</text> | ||
+ | </item> | ||
+ | </jmolMenu> | ||
+ | </jmol> |
Latest revision as of 20:21, 8 November 2010
Testing accented characters in links set by Jmol MediaWiki Extension
All these links should read atención
Directly entered (ó):
Hex Unicode entity (ó):
Dec Unicode entity (ó):
Hex Unicode percent (%F3):
In a button:
Embedding applet in wiki page
Jmol can read this format (not from file, just from a text string) as long as it can connect to a server that will do the conversion to a 2D or 3D format. To do this, you put a dollar sign before the SMILES string, or you use the smiles parameter. Note that the unsigned applet is not allowed connection to external servers ad so does not support this method.
Example, for isopentane:
load $CCC(C)C load "$CCC(C)C" load smiles "CCC(C)C"
Test here: