[Javascript] Display multiple images simultaneously

Flavio Gomes flavio at economisa.com.br
Thu Dec 4 13:29:21 CST 2003


<hr> tag 

Em Quinta 04 Dezembro 2003 15:24, Mike Dougherty escreveu:
> Why would you want to use an image to draw a line?  either use the
> old-school <br> tag, or use something like Flavio Gomes' trick and set the
> background color of a 1 pixel high DIV/SPAN.
>
> On Thu, 4 Dec 2003 16:05:34 -0300
>
>   Flavio Gomes <flavio at economisa.com.br> wrote:
> > It repeats... doesnt stretch... (at least here on my Mozilla and
> > Konqueror)
> >
> >  Use this attached image as background and you are going to see that it
> >repeats instead of stretching..
> >
> >Em Quinta 04 Dezembro 2003 14:55, Tim Makins escreveu:
> >> 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
> >>
> >>
> >>
> >> _______________________________________________
> >> Javascript mailing list
> >> Javascript at LaTech.edu
> >> https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> >--
> >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

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