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 | Email Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: What if jQuery a… บ้าน / รหัส / JavaScript และ Ajax / 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 มิ.ย., 2,009 โดย Dragos ใน การเข้ารหัส, 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. ฉันถูกทำงานในคลังภาพ (ที่ฉันจะประกาศที่นี่เพื่อดูทั้งหมดและใช้) และผมขับรถมาชนปัญหาที่ฉันไม่เคยมีประสบการณ์ก่อน 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. ด้วยเหตุผลตัวแปรผ่านค่า 'บางไม่ได้กำหนด' ซึ่งเป็นปัญหาที่ hampered รหัสของฉันจากการทำงานได้อย่างราบรื่น.

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: Get ทอดสมอจาก URL
  5. JavaScript: Send function as a parameter to another function (callbacks) JavaScript: ส่งหน้าที่เป็นพารามิเตอร์ทำงาน (callbacks อื่น)

    blog comments powered by Disqus บล็อกความคิดเห็นขับเคลื่อนโดย Disqus