Bonjour, j'ai un souci avec une boucle for.
j'ai des images défini comme suit:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
                         var image_w_small_0 = 148;
			 var image_h_small_0 = 250;
			 var image_w_big_0 = 148;
			 var image_h_big_0 = 250;
			 var image_w_small_1 = 190;
			 var image_h_small_1 = 250;
			 var image_w_big_1 = 190;
			 var image_h_big_1 = 250;
			 var image_w_small_2 = 148;
			 var image_h_small_2 = 250;
			 var image_w_big_2 = 148;
			 var image_h_big_2 = 250;
et lorsque je fais ma boucle comme suit:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
for(i=0; i < 3; i++){
			//alert(i);
			ig = image_w_small_i;
 
		}
j'ai
image_w_small_i is not define.
Pouvez-vous me dire ce qui bloque?

Merci