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

clipLeft Property

Internet Development Index

Retrieves the left coordinate of the object clipping region.

Syntax

[ sLeft = ] currentStyle.clipLeft

Possible Values

sLeftVariant that receives one of the following values.
autoLeft side of object is fully exposed—that is, the left 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 clipLeft property from the currentStyle object of an image.

<SCRIPT>
function setClip(sOptionValue) {
oImage.style.clip="rect(0,100,100,"+sOptionValue+")";
if (oImage.currentStyle.clipLeft == "60px") {
alert("The image has been clipped to 60px.");
}
:
}
</SCRIPT>
:
<IMG ID=oImage SRC="../common/sphere.jpg">
:
Pick an amount to clip the left:
// 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, clipRight, clipTop
泾阳县| 黄浦区| 巴塘县| 若羌县| 蓬溪县| 巍山| 焉耆| 孙吴县| 镇安县| 宁城县| 凤凰县| 谢通门县| 遂宁市| 张家港市| 海门市| 华池县| 清徐县| 繁昌县| 濮阳县| 恩施市| 建德市| 新巴尔虎左旗| 巴林右旗| 义乌市| 泰州市| 泗洪县| 兴隆县| 阜康市| 许昌县| 新郑市| 合肥市| 高淳县| 清徐县| 呼图壁县| 呼玛县| 陵川县| 渝中区| 绥阳县| 双鸭山市| 西贡区| 昌邑市|