Template:Button Toggle AnimationOnPause
From Proteopedia
(Difference between revisions)
m |
m |
||
(One intermediate revision not shown.) | |||
Line 2: | Line 2: | ||
<jmolButton> | <jmolButton> | ||
<script>if (_animating); anim pause;set echo bottom left; color echo red; font echo 20 sansserif;echo Animation Paused; else; anim resume; set echo off;endif;</script> | <script>if (_animating); anim pause;set echo bottom left; color echo red; font echo 20 sansserif;echo Animation Paused; else; anim resume; set echo off;endif;</script> | ||
- | <text> | + | <text>Pause/Continue Animation</text> |
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> |
Current revision