JavaScript: What if jQuery animation doesn't fire/start? Javascript: Mida teha, kui jQuery animatsioon ei tule alustada?
Posted on 19. Postitatud 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Juuni, 2009 Dragos in kodeerimise, JavaScript ja 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. Olen töötanud pildigalerii (et ma avaldab siin kõigile vaatamiseks ja kasutamiseks) ja ma sattus küsimus, mida ma pole kunagi kogenud enne: jQuery lõpetas süütamise animatsioon objekti. I looked at the expression, everything was fine. Vaatasin väljend, kõik oli korras. However not the expression was the problem, but the variables I passed to the animation. Ometi ei ole väljend oli probleem, kuid muutujad I edastatakse animatsioon. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Mingil põhjusel muutuja edastatakse väärtus "undefined", mis oli probleem, mis takistab mu koodi sujuvalt.
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. Nii et kui teil on esinenud sama probleem umbes jQuery on animatsioon, kontrollida ja veenduda, et väärtused, mida läheb animatsioon funktsioon on õiged.
Related posts: Seonduvad postitused:
- JavaScript: GIFless animation. Javascript: GIFless animatsioon. Animate images,logos with jQuery Animeeritud piltide, logode jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? Javascript: Kuidas saada indeks (seisukoha rühma) objekti jQuery?
- Javascript: How to validate email address with JavaScript? Javascript: Kuidas kinnitada e-posti aadress JavaScript?
- JavaScript: Send function as a parameter to another function (callbacks) Javascript: Saada funktsiooni parameeter teise funktsiooni (kutse,)
- JavaScript: Get anchor from URL JavaScript: Get kinnistada saadud URL












































