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)
No edit summary
Line 1: Line 1:
<!-- checkboxes do not work yet due to extension not updated with the fix -->
<!-- checkboxes do not work yet due to extension not updated with the fix -->
<!--jmol>
<jmol>
  <jmolCheckbox>
  <jmolCheckbox>
   <scriptWhenChecked>isosurface on</scriptWhenChecked>
   <scriptWhenChecked>isosurface on</scriptWhenChecked>
   <scriptWhenUnchecked>isosurface off</scriptWhenUnchecked>
   <scriptWhenUnchecked>isosurface off</scriptWhenUnchecked>
   <text>show surface</text>
   <text>show surface</text>
</jmolCheckbox>
</jmol-->
<jmol>
<jmolCheckbox>
  {{#tag:scriptWhenChecked|isosurface {{{1}}} on }}
  {{#tag:scriptWhenUnChecked|isosurface {{{1}}} off }}
  {{#tag:text|show surface {{{1}}} }}
  </jmolCheckbox>
  </jmolCheckbox>
</jmol>
</jmol>