Template:Button Toggle Surface
From Proteopedia
(Difference between revisions)
(New page: surface: <jmol> <jmolButton> <script>isosurface on</script> <text>show</text> </jmolButton> <jmolButton> <script>isosurface off</script> <text>hide</text> </jmolButton> </jmol>) |
|||
Line 1: | Line 1: | ||
- | + | Surface: | |
<jmol> | <jmol> | ||
<jmolButton> | <jmolButton> | ||
Line 8: | Line 8: | ||
<script>isosurface off</script> | <script>isosurface off</script> | ||
<text>hide</text> | <text>hide</text> | ||
+ | </jmolButton> | ||
+ | <jmolButton> | ||
+ | <script>if (~surf); isosurface off; ~surf=false; else; isosurface on; ~surf=true; endif; | ||
+ | </script> | ||
+ | <text>toggle</text> | ||
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> |
Revision as of 23:37, 4 February 2009
Surface: