User:Eric Martz/Sandbox 17
From Proteopedia
(Difference between revisions)
Line 40: | Line 40: | ||
6. Colored caption test: | 6. Colored caption test: | ||
+ | |||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script> | ||
+ | script "http://proteopedia.org/wiki/images/6/69/Colortext.spt" | ||
+ | capcmd = 'changeCaption("Words with " + colortext("some red", "red") + " in this caption.", "", "")' | ||
+ | javascript @capcmd | ||
+ | </script> | ||
+ | <text>Colored caption test.</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | |||
+ | <!-- PAGE SAVES BUT DOES NOT WORK. NO JSMOL ERROR MESSAGE. | ||
<jmol> | <jmol> | ||
<jmolLink> | <jmolLink> | ||
Line 51: | Line 65: | ||
</jmolLink> | </jmolLink> | ||
</jmol> | </jmol> | ||
+ | --> | ||
Revision as of 18:50, 19 December 2020
PNGJ scene and caption tests
|