trueSpeed
Properties Reference

trueSpeed

Description

Specifies whether the position of the marquee is calculated using the scrollDelay, scrollAmount, and the actual time elapsed from the last clock tick.

Syntax

object.trueSpeed

Settings

This read-only property is a Boolean value:

TRUE The marquee advances the pixel value of scrollAmount per the number of milliseconds set for scrollDelay. For example, the marquee advances 10 pixels for every 6 milliseconds (ms) if scrollDelay is 6 and scrollAmount is 10.
FALSE The marquee computes movement based on 60ms ticks of the clock. This means every scrollDelay value under 60 is essentially ignored, and the marquee advances the amount of scrollAmount each 60ms. For example, if scrollDelay is 6 and scrollAmount is 10, the marquee advances 10 pixels every 60ms.

By default, this property is FALSE for compatibility with Internet Explorer 3.0.

Applies To

MARQUEE


type

Description

Changes the style of the list.

Syntax

object.type[ = type]

Settings

This read-write property can be one of these string values:

1 Use numbers. This is the default value.
a Use small letters.
A Use large letters.
i Use small roman numerals.
I Use large roman numerals.

Applies To

LI, OL, UL


type

Description

Returns the type of selection.

Syntax

object.type

Settings

This read-only property can be one of these string values:

None No selection/insertion point.
Text The selection is a text selection.

Applies To

selection


type

Description

Specifies the CSS language in which the style sheet is written.

Syntax

object.type

Settings

This read-only property can be any string, including an empty string. Valid style sheets for Internet Explorer 4.0 are set to "text/css".

Applies To

STYLE


type

Description

Specifies the visual appearance and default behavior of the button.

Syntax

object.type

Settings

This read-only property can be one of these strings:

button Creates a Command button. This is the default value for this property.
reset Creates a Reset button. If in a form, this button resets the fields in the form to their initial values.
submit Creates a Submit button. If in a form, this button submits the form.

A Submit button has the same default behavior as the button created using the submit type with the INPUT element. When the input focus is in a control in the form (other than another button), the Submit button receives a bold border, and the user can "click" the button by pressing the ENTER key. If the Submit button has a name property, the button contributes a name/value pair to the submitted data.

When the Submit and Reset buttons are in the document (rather than in a form), the Submit button receives a bold border if the focus is in the document but not in another button, and the user can press ENTER to click the Submit button.

Applies To

BUTTON


type

Description

Returns the event name or scripting language as a string for the event object and script object, respectively.

Syntax

object.type

Remarks

Events are returned without the "on" prefix. For example, the "onclick" event is returned as "click".

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

event


type

Description

Specifies the mime type of the object. This is used to retrieve a class identifier for the object when no CLASSID= attribute is given.

Syntax

object.type[ = type]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

OBJECT

See Also

data


type

Description

Specifies the CSS language the style sheet is written in.

Syntax

object.type

Settings

This read-only property can be any string, including an empty string. Style sheets having any type other than "text/css" are not supported for Internet Explorer 4.0.

Applies To

styleSheet


type

Description

Specifies the type of intrinsic control represented by the given element object.

Syntax

object.type

Settings

This read-only property is a string specifying the control type. The possible values depend on the element as listed in the following table.
Element Possible Value Description
INPUT button Used to create a button control.
checkbox Used for simple Boolean attributes or for attributes that can take multiple values at the same time. It is represented by a number of check box controls, each of which has the same name. Each selected check box generates a separate name/value pair in the submitted data, even if this results in duplicate names. The default value for check boxes is on.
file A file upload element.
hidden No control is presented to the user, but the value of the value property is sent with the submitted form.
image An image control that you can click, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixel units from the upper-left corner of the image, and are submitted with the form as two name/value pairs. The x-coordinate is submitted under the name of the control with .x appended, and the y-coordinate is submitted under the name of the control with .y appended. Any value property is ignored. The image itself is specified by the src property, exactly as for the IMG element.
password Similar to the text control, except that text is not displayed as the user enters it.
radio Used for mutually exclusive sets of values. Each radio-button control in the group should be given the same name. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit value property.
reset Reset is a button that when clicked resets the form's controls to their specified initial values. The label to be displayed on the button can be specified just as for the Submit button.
submit Submit is a button that when clicked submits the form. You can use the value attribute to provide a non-editable label to be displayed on the button. The default label is application specific. If a Submit button is clicked in order to submit the form, and that button has a name attribute specified, that button contributes a name/value pair to the submitted data.
text Used for a single-line text-entry control. Use in conjunction with the size and maxLength properties.
SELECT select-multiple Used to specify a multiple-select list box.
select-one Used to specify a single-select list box.
TEXTAREA textarea Used for multiple-line text-entry controls. Use in conjunction with the size and maxLength properties.

Applies To

INPUT, SELECT, TEXTAREA


type

Description

Specifies the language that the current script is written in.

Syntax

object.type

Settings

This read-only property can be any string, including an empty string.

Remarks

This read-only property can refer to any scripting language. Internet Explorer 4.0 ships with a JScript (JavaScript-compatible) and VBScript scripting engine. Keywords for accessing these scripting languages include the following:

javascript Specifies that the script is written in JavaScript.
Jscript Specifies the language as JScript.
vbs Specifies the language as VBScript.
vbscript Specifies that the script is written in VBScript.

Remarks

To avoid conflict, the type should match the language type specified in the language property.

Applies To

SCRIPT


units

Description

Defines the units for the height and width of the EMBED element. Possible units include pixels and ems.

Syntax

object.units[ = units ]

Settings

This read-write property can be set to an integer value specifying the number of milliseconds between updates to the screen. A value of zero (0) disables the update interval.

Applies To

EMBED


updateInterval

Description

Sets or retrieves the update interval for the screen.

Syntax

object.updateInterval[ = msec ]

Settings

This read-write property can be set to an integer value specifying the number of milliseconds between updates to the screen. A value of zero (0) disables the update interval.

Use this property judiciously—a value too small or too large will adversely affect the page rendering response.

Remarks

The interval causes invalidations to the window to be buffered and then drawn in msec milliseconds intervals. The purpose is to limit excessive invalidations that reduce the overall painting performance, which can happen if there is an overabundance of flipbook-style animations occurring at once.

Applies To

screen


URL

Description

Indicates the URL for the current document.

Syntax

object.URL[ = URL]

Remarks

This property is an alias for the location.href property on the window.

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

document


url

Description

If a URL is specified, reloads the URL after the time specified by the CONTENT= attribute of the META element has elapsed.

Syntax

object.url[ = url]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

META


urn

Description

Specifies a uniform resource name (URN) for a target document.

Syntax

object.urn[ = urn]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

A


useMap

Description

Identifies a URL, often with a bookmark extension (#name), to use as a client-side image map.

Syntax

object.useMap[ = useMap]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

IMG


userAgent

Description

Specifies a string that represents the user-agent header sent in the HTTP protocol from the client to the server.

Syntax

object.userAgent

Remarks

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

navigator


userLanguage

Description

Indicates the current user language. For possible return values, see Language Codes.

Syntax

object.browserLanguage

Remarks

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

navigator


vAlign

Description

Specifies whether the caption appears at the top or bottom.

Syntax

object.vAlign[ = vAlign]

Settings

This read-write property can be set to one of these strings:

bottom Places the caption at the bottom of the table.
top Places the caption at the top of the table. This is the default value for this property.

Applies To

CAPTION


vAlign

Description

Specifies how the text and other content of an element is vertically aligned within the element.

Syntax

object.vAlign[ = vAlign]

Settings

This read-write property can be set to one of these strings:

baseline Aligns the baseline of the first line of text with the baselines in adjacent elements.
bottom Aligns the text at the bottom of the element.
middle Aligns the text in the middle of the element. This is the default value for this property.
top Aligns the text at the top of the element.

Applies To

COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR

See Also

vertical-align


value

Description

Sets or retrieves the value of the object.

Syntax

object.value[ = value]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

SELECT, TEXTAREA


value

Description

Specifies the value of the given control to be submitted to the server as a name/value pair.

Syntax

object.value[ = value]

Settings

This read-write property can be any valid string. The purpose of the string depends on the type of control.

Applies To

INPUT, OPTION


value

Description

Changes the count of ordered lists as they progress.

Syntax

object.value[ = value]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

LI


verticalAlign

Description

Sets or returns the CSS vertical-align attribute, which specifies the vertical alignment.

Syntax

object.verticalAlign[ = verticalAlign]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

style

CSS Attribute

vertical-align


visibility

Description

Returns the CSS visibility attribute, which specifies whether the content of the element is visible.

Syntax

object.visibility[ = visibility]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

style

CSS Attribute

visibility


vLink

Description

Sets or returns the color of links that have already been visited. The color can be one of the color names or values given in Color Table.

Syntax

object.vLink[ = color]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

body

See Also

aLink, link


vlinkColor

Description

Sets or returns the color of links that have already been visited. The color can be one of the color names or values given in Color Table.

Syntax

object.vlinkColor[ = color]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

document

See Also

alinkColor, linkColor


volume

Description

Specifies the volume setting for the sound. The higher the setting, the louder the sound.

Syntax

object.volume

Remarks

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

BGSOUND


vspace

Description

Specifies vertical margins for the element.

Syntax

object.vspace[ = vspace]

Remarks

This property is similar to border, except the margins are not painted with color when the element is a link.

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

APPLET, IFRAME, IMG, MARQUEE

See Also

border, hspace


width

Description

Specifies the horizontal resolution of the screen, in pixels.

Syntax

object.width

Remarks

This property has read-only permission.

Applies To

screen


width

Description

Specifies the calculated width of the element, in pixels.

Syntax

object.width

Settings

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.

This property is read-write for the IMG element, but is read-only for the other elements.

Applies To

EMBED, FRAME, IMG, MARQUEE, OBJECT, TABLE

See Also

height


width

Description

Sets or retrieves the CSS width attribute of the element.

Syntax

object.width[ = width]

Settings

This read-write property is a string consisting of a floating-point number and a units designator, as described for cascading style sheets.

Remarks

For more information on how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.

Applies To

style

CSS Attribute

width

See Also

pixelWidth, posWidth


wrap

Description

Specifies how to handle word-wrapping in the element.

Syntax

object.wrap[ = wrap]

Settings

This read-write property can be one of these strings:

off Word-wrapping is disabled. The lines appear exactly as the user types them. This is the default value for this property.
physical The text is displayed and submitted word-wrapped.
virtual The text is displayed and submitted using word-wrapping.

Applies To

TEXTAREA


x

Description

Returns the position of the mouse hit relative to the element in the parent hierarchy that is positioned using the CSS positioning attribute. If no element in the hierarchy has been positioned, the BODY element is the default.

Syntax

object.x

Remarks

If the mouse is outside the window when the event is called, this property returns -1.

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

event


y

Description

Returns the position of the mouse hit relative to the element in the parent hierarchy that is positioned using the CSS positioning attribute. If no element in the hierarchy has been positioned, the BODY element is the default.

Syntax

object.y

Remarks

If the mouse is outside the window at the time the event fires, this property returns -1.

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

event


zIndex

Description

Specifies the CSS z-index attribute for positioned elements.

Syntax

object.zIndex[ = zIndex]

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

style

CSS Attribute

z-index


Language Codes

Description

The following table lists all the possible language codes used to specify various system settings.
af Afrikaans sq Albanian
ar-sa Arabic(Saudi Arabia) ar-iq Arabic(Iraq)
ar-eg Arabic(Egypt) ar-ly Arabic(Libya)
ar-dz Arabic(Algeria) ar-ma Arabic(Morocco)
ar-tn Arabic(Tunisia) ar-om Arabic(Oman)
ar-ye Arabic(Yemen) ar-sy Arabic(Syria)
ar-jo Arabic(Jordan) ar-lb Arabic(Lebanon)
ar-kw Arabic(Kuwait) ar-ae Arabic(U.A.E.)
ar-bh Arabic(Bahrain) ar-qa Arabic(Qatar)
eu Basque bg Bulgarian
be Belarusian ca Catalan
zh-tw Chinese(Taiwan) zh-cn Chinese(PRC)
zh-hk Chinese(Hong Kong) zh-sg Chinese(Singapore)
hr Croatian cs Czech
da Danish nl Dutch(Standard)
nl-be Dutch(Belgian) en English
en-us English(United States) en-gb English(British)
en-au English(Australian) en-ca English(Canadian)
en-nz English(New Zealand) en-ie English(Ireland)
en-za English(South Africa) en-jm English(Jamaica)
en English(Caribbean) en-bz English(Belize)
en-tt English(Trinidad) et Estonian
fo Faeroese fa Farsi
fi Finnish fr French(Standard)
fr-be French(Belgian) fr-ca French(Canadian)
fr-ch French(Swiss) fr-lu French(Luxembourg)
gd Gaelic(Scots) gd-ie Gaelic(Irish)
de German(Standard) de-ch German(Swiss)
de-at German(Austrian) de-lu German(Luxembourg)
de-li German(Liechtenstein) el Greek
he Hebrew hi Hindi
hu Hungarian is Icelandic
in Indonesian it Italian(Standard)
it-ch Italian(Swiss) ja Japanese
ko Korean ko Korean(Johab)
lv Latvian lt Lithuanian
mk Macedonian ms Malaysian
mt Maltese no Norwegian(Bokmal)
no Norwegian(Nynorsk) pl Polish
pt-br Portuguese(Brazilian) pt Portuguese(Standard)
rm Rhaeto-Romanic ro Romanian
ro-mo Romanian(Moldavia) ru Russian
ru-mo Russian(Moldavia) sz Sami(Lappish)
sr Serbian(Cyrillic) sr Serbian(Latin)
sk Slovak sl Slovenian
sb Sorbian es Spanish(Spain - Traditional Sort)
es-mx Spanish(Mexican) es Spanish(Spain - Modern Sort)
es-gt Spanish(Guatemala) es-cr Spanish(Costa Rica)
es-pa Spanish(Panama) es-do Spanish(Dominican Republic)
es-ve Spanish(Venezuela) es-co Spanish(Colombia)
es-pe Spanish(Peru) es-ar Spanish(Argentina)
es-ec Spanish(Ecuador) es-cl Spanish(Chile)
es-uy Spanish(Uruguay) es-py Spanish(Paraguay)
es-bo Spanish(Bolivia) es-sv Spanish(El Salvador)
es-hn Spanish(Honduras) es-ni Spanish(Nicaragua)
es-pr Spanish(Puerto Rico) sx Sutu
sv Swedish sv-fi Swedish(Finland)
th Thai ts Tsonga
tn Tswana tr Turkish
uk Ukrainian ur Urdu
ve Venda vi Vietnamese
xh Xhosa ji Yiddish
zu Zulu

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.