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++ - Is it possible to compile a VST on linux? -

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

php cli reading files and how to fix it? -