-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello i want to change the mouse arrow to an little hand when i mouse over an image. setHover is not the right method.
please tell me how to do this.. i want the same that happens when i move over an button.
greets
I Moloch,
You could insert - style="cursor: hand" - inside the attribute.
Regards
Mirko
Same question.
I tried this and it didn't work on Google Chrome:
img.setStyle("cursor: hand;");
Try using pointer instead of hand. Something like this:
img.setStyle("cursor: pointer;");
Regards,
Todd
I worked around this by using
new Toolbarbutton("", "gfx/image.png");
instead of Image.
I have tried the following sample, it works fine.
<image src="Animations-24x24.png" style="cursor: pointer;"></image>
Asked: 2011-01-21 01:39:38 +0800
Seen: 1,033 times
Last updated: Oct 11 '11
ZK studio and eclipse outline problem
ZK Package configuration problem
Eclipse Autocomplete not working in ZUL files...
Syntax Error mark ... help me!
Manual Installation of ZK Studio
Can't see button text whilst running simple demo
Adding Vbox to Center layout in Java