Template:Button PrevFrame: Difference between revisions
From Proteopedia
Jump to navigationJump to search
display current frame nr |
No edit summary |
||
| Line 11: | Line 11: | ||
<text>◄</text> | <text>◄</text> | ||
</jmolButton> | </jmolButton> | ||
<!-- inserts a button that will switch to previous frame/model in a multi-model file | <!-- inserts a button that will switch to previous frame/model in a multi-model file | ||
The character is left-pointing triangle | The character is left-pointing triangle | ||
--> | --> | ||
Latest revision as of 15:33, 21 January 2022
<jmol> <jmolButton> <script>if (_animating); anim pause; set echo off; endif; frame previous; set echo frNr 100% 100%; set echo frNr right; font echo 16 sans; t_frNr = "" + _currentModelNumberInFile + " / " + _lastFrame.replace("1.",""); echo @t_frNr; </script> <text>◄</text> </jmolButton>