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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -