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

clipRight Property

Internet Development Index

Retrieves the right coordinate of the object clipping region.

Syntax

[ sRight = ] currentStyle.clipRight

Possible Values

sRightVariant that receives one of the following values.
autoRight side of object is fully exposed—that is, the right 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 clipRight property from the currentStyle object of an image.

<SCRIPT>
function setClip(sOptionValue) {
oImage.style.clip="rect(0,"+sOptionValue+",100,0)";
if (oElmnt1.currentStyle.clipRight == "60px") {
alert("The image has been clipped to 60px.");
}
:
}
</SCRIPT>
:
<IMG ID=oImage SRC="../common/sphere.jpg">
:
Pick an amount to clip the right:
// 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, clipTop
澜沧| 井冈山市| 屯昌县| 清苑县| 桑日县| 乌兰浩特市| 虞城县| 甘德县| 介休市| 平昌县| 开鲁县| 阿尔山市| 商河县| 招远市| 沁源县| 肃北| 同仁县| 澜沧| 临湘市| 钟山县| 霍林郭勒市| 琼结县| 明溪县| 无为县| 万州区| 南投县| 舒城县| 阳江市| 苗栗县| 衡山县| 佛教| 邹城市| 缙云县| 斗六市| 屯留县| 长春市| 林甸县| 霍山县| 扬州市| 宾阳县| 子洲县|