[Javascript] Display multiple images simultaneously

Tim Makins spindrift at oceanfree.net
Thu Dec 4 11:55:45 CST 2003


Yes, that's one way to do it, but that's still not displaying an image
multiple times, just stretching it. Is it possible to display the same image
a number of times without reloading it ? Perhaps I need to specify it as a
background image for each new blank DIV ?

Tim in Ireland.

----- Original Message -----
From: "Flavio Gomes" <flavio at economisa.com.br>
<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.

> 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
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript






More information about the Javascript mailing list