JavaScript: What if jQuery animation doesn't fire/start? जावास्क्रिप्ट: क्या होगा यदि jQuery एनीमेशन नहीं आग / शुरू कर दिया?
Posted on 19. 19 पर तैनात हैं. Jun, 2009 by Dragos in Coding , JavaScript & Ajax जून, 2009 कोडिंग, जावास्क्रिप्ट और Ajax में Dragos द्वारा
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 जावास्क्रिप्ट: URL से लंगर जाओ
- JavaScript: Send function as a parameter to another function (callbacks) जावास्क्रिप्ट: एक और समारोह callbacks (एक पैरामीटर के रूप में कार्य भेजें)












































