Take a look at image sprites.

On Dec 20, 1:44 pm, Deepak Singh <[email protected]> wrote:
> Hi,
>
> GWT 2.4
>
> I have a client bundle and generates images and background images as
> follows,
>
> Document.get().getElementById("hbhtopbar2").getStyle().
> setBackgroundImage("url("+HomePageClientBundle.INSTANCE.topbar2().getSafeUr­i().asString()+")");
>
> Image hbtopbar3 = Image.wrap(Document.get().getElementById("hbtopbar3"));
> hbtopbar3.setUrl(HomePageClientBundle.INSTANCE.topbar3().getSafeUri().asStr­ing());
>
> But the problem is, clientbundle combines all clientbundle imgae into a
> single image and that combined image is displayed in place of all single
> images.
>
> Can someone pls let me know the solution.
>
> Thanks
> Deepak Singh

-- 
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.

Reply via email to