M
mandelum
I have a page with lots of random bgs and my script has worked fine
utill I reached the number of 85 in the Array. When there is 85 in the
array my page is just white. Why is this, and is there any way to solve
the problem?
var randnum = Math.random();
var inum = 93;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "mm.jpg"
images[2] = "camotex.jpg"
images[3] = "meo.jpg"
....
images[83] = "maubin.gif"
images[84] = "galen4.gif"
images[85] = "that2.gif
images[86] = "noise2.gif"
thanks a lot in advice
utill I reached the number of 85 in the Array. When there is 85 in the
array my page is just white. Why is this, and is there any way to solve
the problem?
var randnum = Math.random();
var inum = 93;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "mm.jpg"
images[2] = "camotex.jpg"
images[3] = "meo.jpg"
....
images[83] = "maubin.gif"
images[84] = "galen4.gif"
images[85] = "that2.gif
images[86] = "noise2.gif"
thanks a lot in advice