I got it to work.
I used an HTMLPanel,
and wrapped my <g:image> in html anchor <a>.
therefore it appears to be a link and my css selectors for a:hover,
applies to it, and the background color is highlighted upon hover.
Thank You..
still would appreciate some tips on using images defined in the
clientbundle,
inside CSS
<ui:with field='res' type='package.of.Resources'/>
can we do something similar to this ?
.homeIcon {
background-image:'res.homeIcon';
}
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.