V
Vincent M.
Hello,
I call a function like that:
check_img(vti, img) ;
And this call works, the function check_img works, so all is all right.
But I have to call it with a setTimeoutSauf, I tried this:
J'ai essayé ceci:
setTimeout("check_img(" + vti + ", '" + img + "')", 20) ;
But it does not work, IE outputs an error message and Mozilla outputs :
Missing ] after element list
I don't know how to write it correctly.
A little far away I have another setTimeout error to call the same function:
setTimeout("check_imgloaded(" + var_img + ", '" + img_id + "')", 20) ;
But this time var_img is a variable (object), Image object and 'img_i'
is a string variable but it outputs the same error message !!!
A l'aide
Thanks,
Vincent.
PS: I think there is something wrong with [ ]
I call a function like that:
check_img(vti, img) ;
And this call works, the function check_img works, so all is all right.
But I have to call it with a setTimeoutSauf, I tried this:
J'ai essayé ceci:
setTimeout("check_img(" + vti + ", '" + img + "')", 20) ;
But it does not work, IE outputs an error message and Mozilla outputs :
Missing ] after element list
I don't know how to write it correctly.
A little far away I have another setTimeout error to call the same function:
setTimeout("check_imgloaded(" + var_img + ", '" + img_id + "')", 20) ;
But this time var_img is a variable (object), Image object and 'img_i'
is a string variable but it outputs the same error message !!!
A l'aide
Thanks,
Vincent.
PS: I think there is something wrong with [ ]