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

left Property

Internet Development Index

Sets or retrieves the left coordinate of the rectangle surrounding the object content.

Syntax

TextRectangle.left [ = iCoord ]

Possible Values

iCoordInteger that specifies or receives the left coordinate of the rectangle, in pixels.

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

To access the left coordinate of the second text rectangle of a TextRange object, use this syntax:

oRct = oTextRange.getClientRects();
oRct[1].left;

Note that because the collection index starts at 0, the second item index is 1.

To access the left coordinate of the bounding rectangle of an element object, use this syntax:

oBndRct = oElement.getBoundingClientRect();
oBndRct.left;

Example

This example uses the getBoundingClientRect method to retrieve the coordinates of the bounds of the text rectangles within the element.

<SCRIPT>
function getCoords(oObject) {
oBndRct=oObject.getBoundingClientRect();
alert("Bounding rectangle = \nUpperleft coordinates: "
+ oBndRct.left + " " + oBndRct.top +
"\nLowerright coordinates: "
+ oBndRct.right + " " + oBndRct.bottom);
}
</SCRIPT>
</HEAD>
<BODY>
<P ID=oPara onclick="getCoords(this)">
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

TextRectangle

See Also

bottom, right, top, TextRectangle, TextRectangle Collection
永清县| 晋宁县| 辽阳市| 宁津县| 唐山市| 临沂市| 息烽县| 弥勒县| 鹤峰县| 定兴县| 甘孜| 右玉县| 开阳县| 延川县| 英吉沙县| 信阳市| 铜梁县| 特克斯县| 长宁县| 囊谦县| 开江县| 定襄县| 梅州市| 曲周县| 慈溪市| 枣庄市| 玉龙| 太和县| 延边| 梨树县| 静乐县| 大余县| 梓潼县| 沅江市| 嘉荫县| 云安县| 水富县| 惠州市| 平定县| 武胜县| 思茅市|