User:Eric Martz/Sandbox 17: Difference between revisions

Eric Martz (talk | contribs)
No edit summary
Eric Martz (talk | contribs)
No edit summary
Line 22: Line 22:


<br>5. This green link runs a JSmol script, loading the PNGJ file, and writing the caption directly.
<br>5. This green link runs a JSmol script, loading the PNGJ file, and writing the caption directly.
{{font color|red|red text?}}
<jmol>
<jmol>
  <jmolLink>
  <jmolLink>
Line 28: Line 29:
load "http://proteopedia.org/wiki/images/3/3d/6zgi-membrane-proximal-cavity-jmol-cr2.5.pngj";
load "http://proteopedia.org/wiki/images/3/3d/6zgi-membrane-proximal-cavity-jmol-cr2.5.pngj";
spin on;
spin on;
capcmd = "changeCaption(`Four isosurfaces in &lt;b&gt;4 colors from [[6zgi]].`, '', '')"
capcmd = "changeCaption(`Four isosurfaces in 4 colors from [[6zgi]].`, '', '')"
javascript @capcmd
javascript @capcmd
   </script>
   </script>