[Javascript] Display multiple images simultaneously

Flavio Gomes flavio at economisa.com.br
Thu Dec 4 12:37:12 CST 2003


<div style="Position: Absolute; Width: 300px; Height:2px; Left: 100px; 
Top:20px; Background-Image: url('black.gif');"> </div>

Tim Makins wrote:
> Can you give me an example ? It is the 'tell it to repeat itself ' bit that
> I can't figure out.
>
> Tim in Ireland.
>
> ----- Original Message -----
> From: "BEKIM BACAJ" <trojani2000 at hotmail.com>
>
> > Sure,
> > the best solution, (avoiding, multiple downloads of the same image over
>
> and
>
> > over again), is to make it a background of some DIV f.i., and tell it to
> > repeat ittself by X or by Y with the propper CSS declatarion, being able
>
> to
>
> > give it any position in the page plus any width and/or height.
> >
> > >From: "Tim Makins" <spindrift at oceanfree.net>
> > >I am familiar with displaying an image at a chosen point on the screen,
>
> but
>
> > >I wonder if it is possible to display the same image multiple times, at
> > >different positions ?
> > >
> > >For example, if I had an image (black.gif) that was a 1x1pixel black
> > > dot, would it be possible, using a loop, to display the image 100 times
> > > to
>
> form
>
> > >a
> > >black horizontal line, 100 pixels long ?
> > >
> > >Tim in Ireland.
> > >

-- 
Flavio Gomes de Araujo Pego
Estagiário - Técnico em Informática
NUPRO - (31) 3274-1811 - Ramal 232



More information about the Javascript mailing list