Template:Button Toggle Surface
From Proteopedia
(Difference between revisions)
(One intermediate revision not shown.) | |||
Line 1: | Line 1: | ||
- | Surface: | ||
<jmol> | <jmol> | ||
- | <jmolButton> | ||
- | <script>isosurface on</script> | ||
- | <text>show</text> | ||
- | </jmolButton> | ||
- | <jmolButton> | ||
- | <script>isosurface off</script> | ||
- | <text>hide</text> | ||
- | </jmolButton> | ||
<jmolButton> | <jmolButton> | ||
<script>if (~surf); isosurface off; ~surf=false; else; isosurface on; ~surf=true; endif; | <script>if (~surf); isosurface off; ~surf=false; else; isosurface on; ~surf=true; endif; | ||
</script> | </script> | ||
- | <text> | + | <text>Toggle Surface</text> |
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> |
Current revision