Template:Checkbox Toggle Surface: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Angel Herraez (talk | contribs)
No edit summary
Angel Herraez (talk | contribs)
checkboxes are now functional
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
<jmol>
<jmol>
  <jmolCheckbox>
<jmolCheckbox>
    <scriptWhenChecked>isosurface {{{1}}} on</scriptWhenChecked>
  <scriptWhenChecked>isosurface on</scriptWhenChecked>
    <scriptWhenUnchecked>isosurface {{{1}}} off</scriptWhenUnchecked>
  <scriptWhenUnchecked>isosurface off</scriptWhenUnchecked>
    <text>show '{{{1}}}' surface</text>
  <text>show surface</text>
  </jmolCheckbox>
</jmolCheckbox>
</jmol>
</jmol>
{{{1}}}
<!--  Use like this:
{{Checkbox Toggle Surface|mySurfaceName}}
-->