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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -