Template:Button Toggle Surface

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
Surface:
 
<jmol>
<jmol>
<jmolButton>
<jmolButton>
-
<script>isosurface on</script>
+
<script>if (!~surf); isosurface on; ~surf=true; else; isosurface off; ~surf=false; endif;
-
<text>show</text>
+
-
</jmolButton>
+
-
<jmolButton>
+
-
<script>isosurface off</script>
+
-
<text>hide</text>
+
-
</jmolButton>
+
-
<jmolButton>
+
-
<script>if (~surf); isosurface off; ~surf=false; else; isosurface on; ~surf=true; endif;
+
</script>
</script>
-
<text>toggle</text>
+
<text>Toggle Surface</text>
</jmolButton>
</jmolButton>
</jmol>
</jmol>

Revision as of 23:42, 4 February 2009

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez

Personal tools