cursorcursor*
*Contents  *Index  *Topic Contents
*Previous Topic: ctrlKey
*Next Topic: data

cursor

Description

Sets or retrieves the the type of cursor to display for the mouse pointer.

Syntax

object.style.cursor[ = cursor]

Remarks

The following types are defined:

autoBrowser determines the cursor to display based on the current context.
crosshairSimple cross hair.
defaultPlatform-dependent default cursor (usually an arrow).
handHand.
helpArrow with question mark indicating help.
moveCrossed arrows indicating something is to be moved.
*-resizeArrow indicating edge is to be moved (* may be n, ne, nw, s, se, sw, e, or w).
textEditable text (usually an I-bar).
waitHourglass or watch indicating that the program is busy and the user should wait.

This property has read/write permission.

Applies To

HTML Tags A, ADDRESS, APPLET, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, HTML, I, IFRAME, IMG, INPUT, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
Scripting style

CSS Attribute

cursor


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.