SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Load images from a folder
-
Apr 8, 2007, 09:55 #1
- Join Date
- Feb 2006
- Location
- Hamburg, Germany
- Posts
- 593
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Load images from a folder
Hi,
I am a JavaScript newbie and I want to pre-load all banner images when a user enters my site. I was wise enough to name all the images in a numerical fashion, i.e. banner1.jpg, banner2.jpg and so forth.
I know I have to use a loop to iterate though all the images, but my JavaScript skills are way too basic. Can anybody point me to a good tutorial or provide some code so I can play with it?
Cheers.
-
Apr 8, 2007, 11:57 #2
- Join Date
- Jan 2005
- Location
- Too far up north
- Posts
- 1,566
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
There are lots of articles written on this subject.
Bookmarks