This is a translated page. The original can be found here: http://iwebdevel.com/2009/06/19/javascript-what-if-jquery-animation-doesnt-firestart/
UPDATES VIA RSS | Email Uppdateringar via RSS | E-post Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: What if jQuery a… Hem / Kodning / JavaScript / Ajax / JavaScript: Vad händer om jQuery en ...

JavaScript: What if jQuery animation doesn't fire/start? JavaScript: Vad händer om jQuery animation inte eld / start?

Posted on 19. Inlagd den 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Juni, 2009 av Dragos i Coding, JavaScript och 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. Jag har jobbat på ett bildgalleri (att jag kommer att publicera här för alla att se och använda) och jag sprang in i en fråga som jag aldrig har upplevt förut: jQuery slutade skjuta animationen av ett objekt. I looked at the expression, everything was fine. Jag tittade på uttrycket, allt var bra. However not the expression was the problem, but the variables I passed to the animation. Dock inte uttrycket var problemet, men de variabler som jag gått till animeringen. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Av någon anledning en variabel passerade värdet 'undefined', som var problemet som hindrade min kod från friktionsfritt.

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. Så om du någon gång upplever samma problem om jQuery animation, kontrollera och se till att de värden du anger för animationen funktion är korrekta.

Translate this post Översätta det här inlägget


Related posts: Relaterade tjänster:

  1. JavaScript: GIFless animation. JavaScript: GIFless animation. Animate images,logos with jQuery Animera bilder, logotyper med jQuery
  2. JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Hur man får indexet (position inom en grupp) för ett objekt med jQuery?
  3. Javascript: How to validate email address with JavaScript? Javascript: Hur validera e-postadress med JavaScript?
  4. JavaScript: Get anchor from URL JavaScript: Få ankare från URL
  5. JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Skicka fungera som en parameter till en annan funktion (callbacks)

    blog comments powered by Disqus blogg kommentarer drivs av Disqus