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>) |
|||
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | surface: | ||
<jmol> | <jmol> | ||
<jmolButton> | <jmolButton> | ||
- | <script>isosurface on | + | <script>if (~surf); isosurface off; ~surf=false; else; isosurface on; ~surf=true; endif; |
- | + | </script> | |
- | + | <text>Toggle Surface</text> | |
- | + | ||
- | + | ||
- | <text> | + | |
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> |
Current revision