JavaScript: What if jQuery animation doesn't fire/start? JavaScript: Que faire si jQuery animation ne se déclenche pas / start?
Posted on 19. Posté le 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Jun, 2009 par Dragos en codage, JavaScript et Ajax
I've been working on an image gallery (that I will publish here for all to see and use) and I ran into an issue that I've never experienced before: jQuery stopped firing the animation of an object. Je travaille sur une galerie d'images (que je vais publier ici pour tous de voir et d'utilisation) et je suis tombé sur un problème que je n'ai jamais connu auparavant: jQuery cessé de tirer l'animation d'un objet. I looked at the expression, everything was fine. Je regardais l'expression, tout allait bien. However not the expression was the problem, but the variables I passed to the animation. Cependant pas l'expression était le problème, mais les variables que je suis passé à l'animation. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Pour une raison ou une variable passée la valeur 'undefined', qui était le problème qui a entravé mon code de s'exécuter sans problème.
So if you ever experience the same problem about jQuery's animation, check and make sure that the values you pass to the animation function are correct. Donc si jamais vous rencontrez le même problème sur l'animation jQuery, vérifiez et assurez-vous que les valeurs que vous passez à la fonction d'animation sont corrects.
Related posts: Related posts:
- JavaScript: GIFless animation. JavaScript: GIFless animation. Animate images,logos with jQuery Animer des images, des logos avec jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Comment obtenir l'index (la position dans un groupe) d'un objet avec jQuery?
- Javascript: How to validate email address with JavaScript? Javascript: Comment faire pour valider l'adresse e-mail avec JavaScript?
- JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Envoyer fonction comme paramètre à une autre fonction (rappels)
- JavaScript: Get anchor from URL JavaScript: Obtenir l'ancre dans l'url












































