JavaScript: What if jQuery animation doesn't fire/start? جافا سكريبت : ماذا لو الرسوم المتحركة jQuery لا النار / تبدأ؟
Posted on 19. نشر في 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax يونيو ، 2009 من قبل دراكوش في الترميز ، جافا سكريبت واياكس
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 للرسوم المتحركة ، والتحقق والتأكد من أن القيم التي تمرر على وظيفة الحركة صحيحة.
Related posts: الوظائف ذات الصلة :
- JavaScript: GIFless animation. جافا سكريبت : GIFless للرسوم المتحركة. Animate images,logos with jQuery تحريك الصور والشعارات مع jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? جافا سكريبت : كيفية الحصول على مؤشر (الموقف داخل مجموعة) للجسم مع jQuery؟
- Javascript: How to validate email address with JavaScript? جافا سكريبت : كيفية التحقق من صحة عنوان البريد الإلكتروني مع جافا سكريبت؟
- JavaScript: Get anchor from URL جافا سكريبت : احصل على مرساة من رابط
- JavaScript: Send function as a parameter to another function (callbacks) جافا سكريبت : إرسال الدالة كمعلمة إلى وظيفة أخرى (رد)












































