PDA

View Full Version : re-work so they are stored in array


Makaveli.2003
02-08-2003, 08:14 AM
I have this javascript, and at the moment as the user scrolls thru the select menu images change depending on the option selected, when I uploaded the script I discovered the pictures took soooooo long (because the images were being called individually each time) to load it decieved the object of the script, some1 told me that it is possible to store the images in the array, could some1 show me how I can re-work this script so that the images are held in the array, im desperate 4 help, can some1 plzzzzzzz help????

Jon Hanlon
02-09-2003, 05:57 PM
The script already load the images into an array.
The only thing I can't see is where rBtn() is called initially. Try adding:
<body onload="rBtn()">