Template:Button NextFrame: Difference between revisions
From Proteopedia
Jump to navigationJump to search
display current frame nr |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
echo @t_frNr; | echo @t_frNr; | ||
</script> | </script> | ||
<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 right-pointing triangle | The character is right-pointing triangle | ||
--> | --> | ||
Latest revision as of 15:34, 21 January 2022
<jmol> <jmolButton> <script>if (_animating); anim pause; set echo off; endif; frame next; 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>