Click to See Complete Forum and Search --> : cursor other than hand in image map


mariojan
06-19-2005, 11:39 AM
hi
I'm new here, may be the question was posted but i don't find it.
I need a cursor other than the hand pointer when the mouse is over an area in image map (each area has a onmouseover that shows a short text).
I put the map in a div with cursor:crosshair style and this is the solution that works in IE but don't work in Firefox and Opera, Safari not tested .
Putting the style directly in the map don't work in IE.
many thanks
m.j.

Sanim
06-19-2005, 11:48 AM
Cursors (according to Dreamweaver MX 2004):
auto
crosshair
default
e-resize
help
inherit
move
ne-resize
n-resize
nw-resize
pointer
se-resize
s-resize
sw-resize
text
wait
w-resize

mariojan
06-19-2005, 12:43 PM
Yes I know various cursor types. The problem is that they don't work when inside an image map, the browser shows always the hand pointer when the mouse is on an area.
thanks

Fang
06-19-2005, 02:14 PM
img {cursor:crosshair;}

mariojan
06-19-2005, 02:23 PM
yes, img {cursor:crosshair;} it's ok in Firefox and IE but not in Opera
thanks

Fang
06-19-2005, 02:53 PM
Works in Opera7+
Opera6 does not support cursor