JavaScript: What if jQuery animation doesn't fire/start? JavaScript: Wat als jQuery animatie niet brand / start?
Posted on 19. Geplaatst op 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Juni, 2009 door Dragos in Coding, JavaScript & 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. Ik heb gewerkt op een foto galerij (die ik hier zal publiceren voor iedereen te zien en te gebruiken) en ik liep in een kwestie die ik nog nooit meegemaakt: jQuery gestopt met het afvuren van de animatie van een object. I looked at the expression, everything was fine. Ik keek naar de uitdrukking, was alles prima. However not the expression was the problem, but the variables I passed to the animation. Echter niet de uitdrukking was het probleem, maar de variabelen ik doorgegeven aan de animatie. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Voor sommige reden een variabele de waarde 'undefined', dat is het probleem dat belemmerd mijn code van soepel.
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. Dus als je ooit hetzelfde probleem over animatie jQuery ervaring, controleren en ervoor te zorgen dat de waarden die u doorgeven aan de animatie-functie juist zijn.
Related posts: Gerelateerde berichten:
- JavaScript: GIFless animation. JavaScript: GIFless animatie. Animate images,logos with jQuery Animate beelden, logo's met jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Hoe krijg ik de index (positie binnen een groep) van een object met jQuery?
- Javascript: How to validate email address with JavaScript? Javascript: Hoe te valideren e-mailadres met JavaScript?
- JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Stuur functie als parameter aan een andere functie (callbacks)
- JavaScript: Get anchor from URL JavaScript: Get anker van URL












































