Auto-play
From Frontal Wiki
Contents |
Purpose
Use this style on a 'manager' tag to have it periodically change its selection from one managed element to the next.
Value
Either "true" or "false". The default value is "false".
auto-play: true;
Remarks
Make sure not to confuse this style with video-auto-play. The auto-play style is specific to the manager tag.
Example
In this example we have a managed list of images. The manager automatically changes the image being shown every 60 frames.
<style><![CDATA[ manager { auto-play: true; hold-time: 60; hide-unselected: true; } ]]></style> <div> <manager /> <img src="http://www.frontalcode.com/assets/images/image_1.jpg" /> <img src="http://www.frontalcode.com/assets/images/image_2.jpg" /> <img src="http://www.frontalcode.com/assets/images/image_3.jpg" /> </div>
See Also
Can Be Applied To
This style can be applied to: