User talk:Angel Herraez/Frame navigation buttons
Move along the frames in the structure:
Templates {Button PrevFrame} {Button NextFrame}
This is the result of using the templates with the closing jmol tag
And this is the result of using the templates without the closing jmol tag
<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>
<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>