最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

COLS Attribute | cols Property

Internet Development Index

Sets or retrieves the number of columns in the table.

Syntax

HTML<TABLE COLS = iCount... >
ScriptingTABLE.cols [ = iCount ]

Possible Values

iCountInteger that specifies or receives the number of columns.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

Specifying this number can speed up the processing of the table.

Example

This example uses the COLS attribute and the cols property to set the number of columns in HTML and retrieve the number of columns in script.

<SCRIPT>
function checkCols(oObject)
{
var iColumns = oObject.cols;
alert (iColumns);
}
</SCRIPT>
</HEAD>
<BODY>
<TABLE ID=oTable BORDER COLS=3 onclick="checkCols(this)">
<TR><TD>Column 1</TD><TD>Column 2</TD><TD>Column 3</TD></TR>
</TABLE>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is a Microsoft extension to HTML Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TABLE
当阳市| 恩施市| 盘山县| 咸丰县| 河曲县| 瓮安县| 曲水县| 普兰店市| 平泉县| 治县。| 葵青区| 澎湖县| 定远县| 万安县| 林口县| 万州区| 稷山县| 晴隆县| 子长县| 称多县| 民权县| 山阴县| 芦山县| 原平市| 图们市| 富顺县| 武清区| 清远市| 仁化县| 二手房| 碌曲县| 三穗县| 饶河县| 石门县| 固阳县| 利川市| 萨迦县| 静海县| 屯昌县| 丰县| 拉萨市|