Friday, May 28, 2010

Re: Fastest way to create lots of similar elements

On May 27, 3:33 pm, Chris Lercher <cl_for_mail...@gmx.net> wrote:
> Hi,
>
> I need to create lots (hundreds) of image tags, and attach them
> dynamically to several plain <div class="xy"></div> elements:
>
> <div class="xy">
>   <img src="images/a.gif" style="top: 1em;"/>
>   <img src="images/a.gif" style="top: 2em;"/>
>   <img src="images/b.gif" style="top: 3em;"/>
>   ...
> </div>

Isn't this what ImageBundle does? That combines various images
into a simgle one at compile time, and uses CSS to show only
the desired portion the combined image when used.

Respectfully,
Eric Jablow

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate