Template:Checkbox Toggle Surface

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Current revision (15:32, 15 May 2009) (edit) (undo)
(checkboxes are now functional)
 
(One intermediate revision not shown.)
Line 1: Line 1:
-
<!-- checkboxes do not work yet due to extension not updated with the fix -->
+
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
-
<!--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>

Current revision

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez

Personal tools