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威盛最新的RSS | 电子邮件 Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: What if jQuery a… 首页 / 编码 / JavaScript的与阿贾克斯 / JavaScript的:如果jQuery的一...

JavaScript: What if jQuery animation doesn't fire/start? JavaScript的:如果jQuery的动画不火/开始?

Posted on 19.发布19。 Jun, 2009 by Dragos in Coding , JavaScript & Ajax 2008年6月,2009年在编码 ,JavaScript的与阿贾克斯 德拉戈什

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.我一直在图像库的工作(我将在这里发表供大家看到和使用),我到一个我从来没有经历过的:jQuery的停止了射击的对象的动画遇到的问题。 I looked at the expression, everything was fine.我在神情似乎,一切都很好。 However not the expression was the problem, but the variables I passed to the animation.但不表达的问题,但我的变量传递给动画。 For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly.出于某种原因,一个变量的值传递'未定义',这是这影响了我的代码运行顺畅的问题。

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.所以,如果你曾经遇到有关jQuery的动画同样的问题,检查并确保您的值传递给动画功能是正确的。

Translate this post翻译这个职位


Related posts:相关岗位:

  1. JavaScript: GIFless animation. JavaScript的:GIFless动画。 Animate images,logos with jQuery 动画图像,标识与jQuery
  2. JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript的:如何获取指数(位置在一组与jQuery对象)?
  3. Javascript: How to validate email address with JavaScript? JavaScript的:如何用JavaScript验证电子邮件地址?
  4. JavaScript: Get anchor from URL JavaScript的:从网址锚
  5. JavaScript: Send function as a parameter to another function (callbacks) JavaScript的:寄另一个函数(回调参数功能)

    blog comments powered by Disqus 博客评论 Disqus