Javascript Reference
Categories: STYLE

javascript STYLE cursor

@Aug. 15, 2009, 12:35 p.m.
cursor Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2  

 

Read/Write  

Specifies the shape of the cursor when the screen pointer is atop the element. The precise look of cursors depends on the operating system. Before deploying a modified cursor, be sure you understand the standard ways that the various types of cursors are used within the browser and operating system. Users expect a cursor design to mean the same thing across all applications. Figure below offers a gallery of Windows and Macintosh cursors for each of the cursor constant settings provided by Internet Explorer and the Netscape 6 group.

 

Setting this property affects the cursor only when it is atop the current element and does not set the cursor immediately on a global basis.

 
Example
 
document.getElementById("hotStuff").style.cursor = "pointer";
 
Value

Any one cursor constant as a string, as supported by various browsers and versions.

The IE 6 setting of an external URL requires an address of a cursor file of extension .cur or .ani.

 
Cursor name IE/Windows IE/Mac Firefox/Netscape/NN
alias n/a n/a 6
all-scroll 6 n/a n/a
auto 4 4 6
cell n/a n/a 6
col-resize 6 n/a n/a
context-menu n/a n/a 6
copy n/a n/a 6
count-down n/a n/a 6
count-up n/a n/a 6
count-up-down n/a n/a 6
crosshair 4 4 6
default 4 4 6
e-resize 4 4 6
grab n/a n/a 6
grabbing n/a n/a 6
hand 4 4 n/a
help 4 4 6
move 4 4 6
n-resize 4 4 6
ne-resize 4 4 6
no-drop 6 n/a n/a
not-allowed 6 n/a n/a
nw-resize 4 4 6
pointer 4 4 6
progress 6 n/a n/a
row-resize 6 n/a n/a
s-resize 4 4 6
se-resize 4 4 6
spinning n/a n/a 6
sw-resize 4 4 6
text 4 4 6
url(uri) 6 n/a n/a
vertical-text 6 n/a n/a
w-resize 4 4 6
wait 4 4 6
 
Default

auto

заказать продвижение сайта магазин логин в скайпе SEO PRO1
AndrewCon - 2018-04-19
заказать продвижение сайта в минске логин в скайпе SEO PRO1
AndrewCon - 2018-04-17
заказать продвижение сайта 64 бит логин в скайпе SEO PRO1
AndrewCon - 2018-04-16

Powered by Linode.