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