Template:Button PrevFrame: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Angel Herraez (talk | contribs)
display current frame nr
Angel Herraez (talk | contribs)
No edit summary
 
Line 11: Line 11:
<text>&#x25C4;</text>
<text>&#x25C4;</text>
</jmolButton>
</jmolButton>
</jmol>
 
<!-- 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>


Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez