JavaScript: What if jQuery animation doesn't fire/start? JavaScript: jQuery Che cosa succede se l'animazione non viene generato / start?
Posted on 19. Posted on 19. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Giugno, 2009 da Dragos in Coding, JavaScript e 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. Ho lavorato in una galleria di immagini (che pubblicherò qui per tutte da vedere e da usare) e mi sono imbattuto in un problema che non ho mai sperimentato prima: jQuery smesso di sparare l'animazione di un oggetto. I looked at the expression, everything was fine. Ho guardato l'espressione, tutto andava bene. However not the expression was the problem, but the variables I passed to the animation. Tuttavia, non l'espressione era il problema, ma le variabili sono passato per l'animazione. For some reason a variable passed the value 'undefined', which was the problem that hampered my code from running smoothly. Per qualche motivo una variabile passata il valore 'indefinito', che è stato il problema che ostacolato il mio codice senza intoppi.
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. Quindi, se mai lo stesso problema circa l'animazione jQuery, controllare e assicurarsi che i valori si passa alla funzione di animazione sono corretti.
Related posts: Related posts:
- JavaScript: GIFless animation. JavaScript: animazione GIFless. Animate images,logos with jQuery Animare le immagini, i loghi con jQuery
- JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Come ottenere l'indice (posizione all'interno di un gruppo) di un oggetto con jQuery?
- Javascript: How to validate email address with JavaScript? Javascript: Come validare indirizzo email con JavaScript?
- JavaScript: Get anchor from URL JavaScript: Get ancora da URL
- JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Invia funzione come parametro a un'altra funzione (callback)












































