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 Aktualizáciou cez RSS | E-mail Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: What if jQuery a… Home / Kódovanie / JavaScript & AJAX / JavaScript: Čo keď jQuery ...

JavaScript: What if jQuery animation doesn't fire/start? JavaScript: Čo keď jQuery animácie nie je oheň / start?

Posted on 19. Publikované pred: dňa 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Júna 2009 od Dragos v Kódovanie, 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. Pracoval som na fotogalérie (že budem tu publikovať všetkým na očiach a použitie) a ja som narazil na problém, ktorý som ešte nikdy nezažili: jQuery prestal strieľať animácie objektu. I looked at the expression, everything was fine. Pozrel som sa na výraz, všetko bolo v poriadku. However not the expression was the problem, but the variables I passed to the animation. Však nie je výraz bol problém, ale premenné som prešiel na animáciu. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Z nejakého dôvodu premennú prešiel hodnoty 'undefined', čo bol problém, ktorý bráni svoj kód z hladkého chodu.

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. Takže ak ste niekedy rovnaký problém, o jQuery je animácie, skontrolujte a uistite sa, že hodnoty, ktoré prechádza na animáciu funkcie sú správne.

Translate this post Translate this post


Related posts: Súvisiace príspevky:

  1. JavaScript: GIFless animation. JavaScript: GIFless animácie. Animate images,logos with jQuery Animovať obrázky, logá s jQuery
  2. JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Ako sa dostať na indexe (pozíciu v rámci skupiny) z objektu s jQuery?
  3. Javascript: How to validate email address with JavaScript? Javascript: Ako overiť e-mailovú adresu JavaScript?
  4. JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Poslať funkcii ako parameter inej funkcie (volanie)
  5. JavaScript: Get anchor from URL JavaScript: Get kotva z URL

    blog comments powered by Disqus blog pripomienky powered by Disqus