Template:Checkbox Toggle Surface
From Proteopedia
(Difference between revisions)
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> |
<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> |
Revision as of 01:21, 5 February 2009