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)
 
(7 intermediate revisions not shown.)
Line 1: Line 1:
-
<!-- javascript "document.write('<jmol>'
+
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
-
+' <jmolCheckbox>'
+
<jmol>
-
+' <scriptWhenChecked>isosurface ')" -->
+
<jmolCheckbox>
-
{{{1}}}
+
<scriptWhenChecked>isosurface on</scriptWhenChecked>
-
<!-- javascript "document.write(' on</scriptWhenChecked>'
+
<scriptWhenUnchecked>isosurface off</scriptWhenUnchecked>
-
+' <scriptWhenUnchecked>isosurface ')" -->
+
<text>show surface</text>
-
{{{1}}}
+
</jmolCheckbox>
-
<!-- javascript "document.write(' off</scriptWhenUnchecked>'
+
</jmol>
-
+' <text>show surface</text>'
+
-
+' </jmolCheckbox>'
+
-
+'</jmol>')" -->
+
-
{{{1}}}
+
-
 
+
-
<!-- Use like this:
+
-
{{Checkbox Toggle Surface|mySurfaceName}}
+
-
-->
+

Current revision

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez

Personal tools