View Full Version : Changing cursor on image mapped to pop up window

03-10-2006, 01:36 PM
I have an images with an mapped area over top linked to open a new window through javascript:

<area shape="rect" coords="23,5,401,288" onClick="MM_openBrWindow('http://www.thesite.com','','')">

However, my mouse does not change to the hand while over the area.

I've tried using style:"cursor:hand" in different places, but maybe not the right one.

Any suggestions?

03-11-2006, 05:57 PM
IE uses cursor: hand and the standards compliant browsers use cursor: pointer

So we need to combine them both, and to do that you need to define 'pointer' first for the nice browsers, and then 'hand' for IE, which the nice browser will ignore ;)

area {
cursor: pointer;
cursor: hand;