JavaScript: What if jQuery animation doesn't fire/start? JavaScript: Ko darīt, ja jQuery animācijas nav uguns / sākt?
Posted on 19. Posted on 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Jun, 2009 by Dragos in Kodēšana, JavaScript un 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. Esmu strādājusi par attēlu galerija (ka es publicēt šeit, lai visi to redz un izmantošana) un man uzbrauca jautājums, ka es nekad neesmu pieredzējis līdz: jQuery apturēt spridzināšanas animācija par objektu. I looked at the expression, everything was fine. Es paskatījos izteiksme, viss bija labi. However not the expression was the problem, but the variables I passed to the animation. Tomēr nav ekspresija bija problēma, bet mainīgie gāju garām uz animāciju. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Kādu iemeslu dēļ mainīgā nodots value 'undefined', kas ir problēma, kas kavē manu kodu norit veiksmīgi.
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. Tātad, ja jums kādreiz bijusi tāda pati problēma par jQuery ir animācija, pārbaudīt un pārliecināties, ka vērtības, pāriet animācijas funkcija ir pareizi.
Related posts: Related posts:
- JavaScript: GIFless animation. JavaScript: GIFless animāciju. Animate images,logos with jQuery Dzīva attēlus, logotipus ar jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Kā nokļūt indekss (amatu grupā) un objekts ar jQuery?
- Javascript: How to validate email address with JavaScript? Javascript: Kā lai apstiprinātu e-pasta adresi ar JavaScript?
- JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Sūtīt funkcija kā parametru citai funkcijai (callbacks)
- JavaScript: Get anchor from URL JavaScript: Get enkuru no URL












































