5. You may also want to add toggle controls so that the user can remove frames if they want. This is done by adding the name toggle to the list of controls. But that's too easy! Let's we also want to put the toggle controls below the image and add a label for each frame. So, we'll need to specify the controls like this:
You can also give your users the option to only initially load a subset of the total frames you have. First, let's add the numframeschoide control:
Finally, so you can more easily see the effect of the frame choices, we'll modify the toggle control to the special value toggle/showall, although this is not required nor really recommended.
This initially shows the user the last two frames, and then gives them a choice of either the last 3 frames, 2 equally-spaced frames, or all four. Here's the modified example:
If you would like more information, or have questions or suggestions, please contact Tom Whittaker