Style.cursor Property

SharePoint Designer Developer Reference

Sets or returns a String that represents how to display the mouse pointer as it moves over a specified object when a page is displayed in the browser window.

Syntax

expression.cursor

expression   Required. A variable that represents a Style object.

Remarks

The String for the cursor property can be one of the following values:

Value Description
all-scroll   Internet Explorer 6 and later. Arrows pointing up, down, left, and right with a dot in the middle, indicating that the page can be scrolled in any direction.
auto Default. Browser determines which cursor to display based on the current context.
col-resize Internet Explorer 6 and later. Arrows pointing left and right with a vertical bar separating them, indicating that the item or column can be resized horizontally.
crosshair Simple cross hair.
default Platform-dependent default cursor; usually an arrow.
hand Hand with the first finger pointing up, as when the user moves the pointer over a link.
help Arrow with question mark, indicating help is available.
move Crossed arrows, indicating something is to be moved.
no-drop Internet Explorer 6 and later. Hand with a small circle with a line through it, indicating that the dragged item cannot be dropped at the current cursor location.
not-allowed Internet Explorer 6 and later. Circle with a line through it, indicating that the requested action cannot be carried out.
pointer Internet Explorer 6 and later. Hand with the first finger pointing up, as when the user moves the pointer over a link. Identical to hand.
progress Internet Explorer 6 and later. Arrow with an hourglass next to it, indicating that a process is running in the background. User interaction with the page is unaffected.
row-resize Internet Explorer 6 and later. Arrows pointing up and down with a horizontal bar separating them, indicating that the item or row can be resized vertically.
text Usually an I-bar, indicating editable text.
url(uri) Internet Explorer 6 and later. Cursor is defined by the author, using a custom Uniform Resource Identifier (URI), such as url('mycursor.cur'). Cursors of type .CUR and .ANI are the only supported cursor types.
vertical-text Internet Explorer 6 and later. Horizontal I-bar, indicating editable vertical text.
wait Hourglass or watch, indicating that the program is busy and the user should wait.
*-resize Arrows, indicating an edge is to be moved; the asterisk (*) can be N, NE, NW, S, SE, SW, E, or W—each representing a compass direction.

See Also