E |A| E
09-05-2002, 07:09 PM
N'espère rien de l'homme s'il travaille pour sa propre vie et non pour son éternité
I have a problem with an lmage loader, the javascript alert locates the problem at the :mad: string of the code.
imgNames = new Array(
"/usr/local/apache/example/example.jpg",
"/usr/local/apache/example/example.jpg",
"/usr/local/apache/example/example.jpg",
) <----- :mad:
loadImgs = new Array()
for(i=0; i < imgNames.length; i++) {
loadImgs[i] = new Image;
loadImgs[i].src = imgNames[i];
}
As a result an alert generated calling for ')' when its there !!
Help would be greatly appreciated,
Regards. :D
I have a problem with an lmage loader, the javascript alert locates the problem at the :mad: string of the code.
imgNames = new Array(
"/usr/local/apache/example/example.jpg",
"/usr/local/apache/example/example.jpg",
"/usr/local/apache/example/example.jpg",
) <----- :mad:
loadImgs = new Array()
for(i=0; i < imgNames.length; i++) {
loadImgs[i] = new Image;
loadImgs[i].src = imgNames[i];
}
As a result an alert generated calling for ')' when its there !!
Help would be greatly appreciated,
Regards. :D