You can define the shape of the cursor when the mouse pointer moves over the element. This is far more sensible than defining a onMouseOver and onMouseOut handler to set and reset the cursor shape.
The following cursor names can be specified:
default
auto
crosshair
help
move
pointer
text
wait
hand
resize
n-resize
ne-resize
e-resize
se-resize
s-resize
sw-resize
w-resize
nw-resize
The CSS standard suggests that a URI value could be specified to allow for a downloadable cursor shape to be defined although this is not currently supported in any browser.
Prev | Home | Next |
style.cueBefore | Up | style.direction |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |