ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Make mouse cursor change when hovering over an image?

davout
22 Dec 2008 09:41:33 GMT
22 Dec 2008 09:41:33 GMT

I have a grid that is displaying images in one column. The next column is displaying Toolbarbutton components. When the user hovers over the Toolbarbutton component the cursor changes shape to indicate the presence of a hyper link.

How can I define the images in the image column so that the cursor also changes shape to represent the fact that a click on the image will be akin to a hyperlink. An even better solution would be to have a custom cursor shape available when the mouse moves over the image.

Any ideas?

davout
22 Dec 2008 09:50:11 GMT
22 Dec 2008 09:50:11 GMT

Found a previous response here on changing the cursor...

style="cursor: pointer"

Would still be interested to get some ideas on custom cursors...