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

clipTop Property

Internet Development Index

Retrieves the top coordinate of the object clipping region.

Syntax

[ sTop = ] currentStyle.clipTop

Possible Values

sTopVariant that receives one of the following values.
autoTop side of object is fully exposed—that is, the top side is not clipped.
lengthFloating-point number, followed by an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). For more information about the supported length units, see CSS Length Units.

The property is read-only. The property has no default value.

Example

This example demonstrates how to read the clipTop property from the currentStyle object of an image.

<SCRIPT>
function setClip(sOptionValue) {
oImage.style.clip="rect("+sOptionValue+",100,100,0)";
if (oImage.currentStyle.clipTop == "60px") {
alert("The image has been clipped to 60px.");
}
:
}
</SCRIPT>
:
<IMG ID=oImage SRC="../common/sphere.jpg">
:
Pick an amount to clip the top:
// the option value is sent as an argument:
<SELECT onchange="setClip(value)">
<OPTION VALUE=100>reset </OPTION>
<OPTION VALUE=40>40px </OPTION>
<OPTION VALUE=50>50px </OPTION>
<OPTION VALUE=60>60px </OPTION>
</SELECT>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this property.

Applies To

currentStyle

See Also

clip, clipBottom, clipLeft, clipRight
昌宁县| 南丰县| 化德县| 蓝田县| 尼勒克县| 松潘县| 新泰市| 科技| 南靖县| 蒲城县| 禄丰县| 宜宾市| 称多县| 武冈市| 大姚县| 曲阜市| 扶风县| 遂昌县| 霞浦县| 德兴市| 西乌| 阿图什市| 锡林郭勒盟| 崇信县| 南川市| 简阳市| 张家口市| 晴隆县| 六安市| 瓦房店市| 湛江市| 扶余县| 景东| 德昌县| 出国| 五莲县| 普定县| 衡东县| 若尔盖县| 托里县| 玉屏|