<?xml version="1.0" encoding="UTF-8" ?>
<application id="ex_separatorContainer">
<element type="codeElement"><![CDATA[
var sepcount = 4;
]]></element>
<container type="simpleContainer" height="100">
<zone>
<element type="htmlElement"><![CDATA[
The separatorContainer example. Control the zones by code:
]]></element>
<element type="buttonElement">Add a zone
<event type="click">
<code><![CDATA[
function(e)
{
var n = WA.$N('sc');
n.newZone('sep'+sepcount, null, null);
sepcount ++;
}
]]></code>
</event>
</element>
</zone>
</container>
<container id="sc" type="separatorContainer" height="200" mode="horizontal" auto="no">
<zone id="zone1" size="*">
<element type="htmlElement"><![CDATA[
This is the first zone of the Container. You will note that the main container have a 5 pixels padding in the class, so the zone is placed into the working area.<br />
The WAJAF <b>will respect</b> any CSS directive you may create on the contruction of the elements.<br />
]]></element>
</zone>
<zone id="zone2" size="*">
<element type="htmlElement"><![CDATA[
This is the second zone of the Container. This zone have a 5 pixels margin, so the zone line appears to be 10 pixels from the container border.<br />
The WAJAF <b>will respect</b> any CSS directive you may create on the contruction of the elements.<br />
]]></element>
</zone>
<zone id="zone3" size="*">
<element type="htmlElement"><![CDATA[
This is the third zone of the Container. This zone have a 10 pixels margin and 5 pixels padding, so the zone line appears to be 15 pixels from the container border.<br />
The WAJAF <b>will respect</b> any CSS directive you may create on the contruction of the elements.<br />
]]></element>
</zone>
</container>
</application>
|