User:Eric Martz/Sandbox 17
From Proteopedia
(Difference between revisions)
Line 38: | Line 38: | ||
Proteopedia's wiki lacks Template:Font_color: {{font color|red|red text?}}. | Proteopedia's wiki lacks Template:Font_color: {{font color|red|red text?}}. | ||
+ | |||
+ | 6. Colored caption test: | ||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script> | ||
+ | script "http://proteopedia.org/wiki/images/6/69/Colortext.spt" | ||
+ | captext = "Words with " + colortext("some red", "red") + " in this caption." | ||
+ | capcmd = "changeCaption(captext, '', '')" | ||
+ | javascript @capcmd | ||
+ | </script> | ||
+ | <text>Colored caption test.</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | |||
</StructureSection> | </StructureSection> |
Revision as of 18:46, 19 December 2020
PNGJ scene and caption tests
|