最新国产好看的视频,伊人天堂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
百色市| 台中市| 弥勒县| 亳州市| 东莞市| 中阳县| 榆林市| 泰州市| 喀什市| 南宁市| 日喀则市| 日土县| 吴川市| 康保县| 张家界市| 玉田县| 南汇区| 兴文县| 革吉县| 图木舒克市| 刚察县| 通榆县| 泊头市| 建德市| 四平市| 黑河市| 秦皇岛市| 阿城市| 麻阳| 乌拉特后旗| 宜阳县| 宾川县| 霞浦县| 乐平市| 镇原县| 荣昌县| 茂名市| 甘孜| 龙井市| 和平县| 土默特左旗|