Template:Button PrevFrame: Difference between revisions
From Proteopedia
Jump to navigationJump to search
New page: <jmol> <jmolButton> <script>if (_animating); anim pause; set echo off; endif; </script> <text>previous</text> </jmolButton> <span class="fas fa-arrow-circle-left"></span> <!-- inserts ... |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<jmolButton> | <jmolButton> | ||
<script>if (_animating); anim pause; set echo off; endif; | <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> | </script> | ||
<text> | <text>◄</text> | ||
</jmolButton> | </jmolButton> | ||
<!-- inserts a button that will switch to previous frame/model in a multi-model file | |||
The character is left-pointing triangle | |||
<!-- inserts a button that will | |||
--> | --> | ||