Stop-at-end

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This 'manager' style determines if the next element after the last loops to the first or not.


Value

Either "true" or "false". The default value is "false".

stop-at-end: true;


Remarks

See the 'manager' tag for more details and examples.


Example

In this example we have a simple slideshow. The code below has auto-play set to true and stop-at-end set to false. The slideshow will therefore loop back to the first image after the third.


<style><![CDATA[
    manager
    {
        auto-play: true;
        hold-time: 30;
        hide-unselected: true;
        stop-at-end: false;
    }
]]></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>


Can Be Applied To

This style can be applied to:

Personal tools
Get Adobe Flash player