Template:Checkbox Toggle Surface: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Angel Herraez (talk | contribs)
trying to create a template for surface show/hide
 
Angel Herraez (talk | contribs)
checkboxes are now functional
 
(13 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 surface</text>
  <text>show surface</text>
  </jmolCheckbox>
</jmolCheckbox>
</jmol>
</jmol>
<!--  Use like this:
{{Checkbox Toggle Surface|mySurfaceName}}
-->

Latest revision as of 15:32, 15 May 2009

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez