Picture problem....

admin

Administrator
Staff member
I am having 1 problem - which is that all the different drop down menu's will have different pictures. So each section will have a different set of pictures, at the moment they all share the same pictures, which I dnt want. Is it possible for each drop down menu to have its own pictures section? (Iv posted the code below)

I would have thought putting in a:

var ImagesInList = new Array(10,4,1,11,9,6,7,7,6,4,5,3,2); // for example first select has 10 options

for the images and adding:

//create a new 0 array to hold the img source list
imglist = new BuildZeroArray(ImagesInList[13])
imglist[12][0] = new Image
imglist[12][0].src = "C:\My Documents\My Pictures\iceberg.jpg"
imglist[12][1] = new Image
imglist[12][1].src = "moon.gif"
imglist[12][2] = new Image
imglist[12][2].src = "storytellinglogo-2.jpg"

for each differnce option would have done the trick, iv experimented and it does seem to work, could ne1 help
 
Back
Top