Template:Button Toggle Surface

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
(New page: surface: <jmol> <jmolButton> <script>isosurface on</script> <text>show</text> </jmolButton> <jmolButton> <script>isosurface off</script> <text>hide</text> </jmolButton> </jmol>)
Current revision (23:45, 4 February 2009) (edit) (undo)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
-
surface:
 
<jmol>
<jmol>
<jmolButton>
<jmolButton>
-
<script>isosurface on</script>
+
<script>if (~surf); isosurface off; ~surf=false; else; isosurface on; ~surf=true; endif;
-
<text>show</text>
+
</script>
-
</jmolButton>
+
<text>Toggle Surface</text>
-
<jmolButton>
+
-
<script>isosurface off</script>
+
-
<text>hide</text>
+
</jmolButton>
</jmolButton>
</jmol>
</jmol>

Current revision

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez

Personal tools