JavaScript: What if jQuery animation doesn't fire/start? JavaScript: Kaj če jQuery animacije ne ognja / začeti?
Posted on 19. Objavljeno dne 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Junij 2009, ki ga Dragos v Coding, JavaScript in 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. Sem delal na galerijo slik (da bom objavila tukaj za vse za prikaz in uporabo) in sem naletel na vprašanje, ki ga nisem nikoli doživeli pred: jQuery ustavil streljanje animacijo predmeta. I looked at the expression, everything was fine. Pogledal sem na izraz, je bilo vse v redu. However not the expression was the problem, but the variables I passed to the animation. Vendar pa ni izraz je problem, ampak spremenljivke sem prešla na animacijo. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Iz neznanega razloga spremenljivke opravili vrednost "neopredeljenih", ki je bila težava, ki ovira moje kode teče gladko.
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. Torej, če ste kdaj doživeli isto težavo o jQuery's animacije, preverite in se prepričajte, da vrednosti, ki jih prenese na animacijo funkcijo, pravilna.
Related posts: Podobni objav:
- JavaScript: GIFless animation. JavaScript: GIFless animacije. Animate images,logos with jQuery Animate slike, logotipi s jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Kako indeks (položaj v skupini) predmeta s jQuery?
- Javascript: How to validate email address with JavaScript? Javascript: kako potrditi e-naslov z JavaScript?
- JavaScript: Get anchor from URL JavaScript: Get sidro iz URL-ja
- JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Pošljite funkcijo kot parameter na drugo delovno mesto (callbacks)












































