GWT Image button -
i creating image button png icons, need make feel of button (but not push button effect) when user clicks image dotted square (like selection) appear have effect button clicked. ideas?
something in gwt:
hyperlink link = new hyperlink(); image image = new image(imageurl); ... link.getelement().appendchild(image.getelement()); link.setstylename("imgbtnlink");
add/set css style:
.imgbtnlink:active { border-style:dashed; }
old jsfiddle example: http://jsfiddle.net/wsaf5/
Comments
Post a Comment