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

pixelWidth Property

Internet Development Index

Sets or retrieves the width of the object.

Syntax

HTMLN/A
Scriptingobject.style.pixelWidth [ = iWidth ]

Possible Values

iWidthInteger that specifies or receives the width, in pixels.

The property is read/write. The property has no default value. The Microsoft Cascading Style Sheets (CSS) extension is not inherited.

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

Setting this property changes the value of the width without changing the units designator. Unlike the width property, the pixelWidth value is an integer, not a string, and is always interpreted in pixels.

For more information about how to access the dimension and location of objects on the page through the Dynamic HTML (DHTML)燚ocument Object Model (DOM), see Measuring Element Dimension and Location.

Example

This example uses a timer to increment the pixelWidth property.

<SCRIPT>
function scaleThis()
{
if (sphere.style.pixelWidth <900) {
sphere.style.pixelWidth += 4;
sphere.style.pixelHeight +=4;
window.setTimeout("scaleThis();", 1);
}
}
:
</SCRIPT>
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

There is no public standard that applies to this property.

Applies To

A, ACRONYM, ADDRESS, APPLET, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, CUSTOM, DD, defaults, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, HEAD, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MARQUEE, MENU, META, nextID, NOBR, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP

See Also

posWidth
宜都市| 芦山县| 平湖市| 柏乡县| 老河口市| 米易县| 福泉市| 博客| 广西| 弥勒县| 靖州| 上虞市| 平度市| 茶陵县| 阳朔县| 鄯善县| 曲麻莱县| 武平县| 庄河市| 苏州市| 宿州市| 杭锦后旗| 宁南县| 建德市| 玛多县| 沿河| 平原县| 宣恩县| 天祝| 衡山县| 富源县| 洛阳市| 广德县| 陇川县| 壶关县| 县级市| 滦南县| 娄底市| 阿克苏市| 永宁县| 吉木乃县|