Template:Button Toggle Surface: Difference between revisions
From Proteopedia
Jump to navigationJump to search
New page: surface: <jmol> <jmolButton> <script>isosurface on</script> <text>show</text> </jmolButton> <jmolButton> <script>isosurface off</script> <text>hide</text> </jmolButton> </jmol> |
No edit summary |
||
| 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: