HBCMS更多的中文手册参考:

squaresY Attribute | SquaresY参数属性

DHTML文档教程

Sets or retrieves the number of rows for the checkerboard transition.

dhtml语法

html
{ filter:progid:dximagetransform.microsoft.checkerboard(
    squaresy = irows ... ) ... }
scripting
object.filters.item(
    "dximagetransform.microsoft.checkerboard").squaresy [ = irows ]

dhtml可能的值

iRowsInteger that specifies or receives any positive value greater than or equal to 2.
10Default.

The property is read/write. The property has a default value of 10.

Remarks

Any value less than 2 causes the property to default to 10.

DHTML代码范例

This example uses the backgroundcolor property to change the display before each transition is played.

<SCRIPT>
var bToggle = 0;
function fnToggle() {
oDiv.filters[0].Apply();
// After setting Apply, changes to the oDiv object
//  are not displayed until Play is called.
if (bToggle) {
bToggle = 0;
oDiv.style.backgroundColor="gold";}
else {
bToggle = 1;
oDiv.style.backgroundColor="blue";}
oDiv.filters[0].Play();
}
</SCRIPT>
<BUTTON onclick="fnToggle()">Toggle Transition</BUTTON><BR/><BR/>
<DIV ID="oDiv" STYLE="height:250px; width:250px; background-color: gold;
filter:progid:DXImageTransform.Microsoft.CheckerBoard(
duration=5, direction='left', squaresY=4);">
</DIV>

Applies To

CheckerBoard