basetabslider — A non-visual container that animates and coordinates the sliding of basetabelements
A basetabslider coordinates the opening and
closing of its basetabelements contained within
its scope. basetabslider and
basetabelement have no visual aspects. The
tabslider class (which extends
basetabslider) does contain a visual UI and
shows how basetabslider can be extended to
create your own visual framework for a unique tab slider.
An example of the use of these classes is shown below. In order to make the base classes visible, background colors have been assigned to them.
<canvas height="220">
<include href="base/basetabslider.lzx"/>
<basetabslider bgcolor="yellow" width="100"
height="200" mintabheight="40"
spacing="2" slideduration="300">
<basetabelement clickable="true" bgcolor="red" width="100%"/>
<basetabelement clickable="true" bgcolor="red" width="100%"/>
<basetabelement clickable="true" bgcolor="red" width="100%"/>
</basetabslider>
</canvas>
The mintabheight specified for a
basetabslider applies to all of its
basetabelements except those
basetabelements that define it for themselves,
as demonstrated in the following example.
<canvas height="220">
<include href="base/basetabslider.lzx"/>
<basetabslider bgcolor="yellow" width="100"
height="200" mintabheight="40"
spacing="2" slideduration="300">
<basetabelement clickable="true" bgcolor="red" width="100%"/>
<basetabelement clickable="true" bgcolor="red" width="100%" minheight="15"/>
<basetabelement clickable="true" bgcolor="red" width="100%"/>
</basetabslider>
</canvas>
Copyright © 2002-2007 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.