I have the following animations in my web page:
$ (" item "). Not (this) .mate ({opacity: 0,}, {queue: truth, duration: 1000}, function () {// animation complete.}); $ (This). Value ({left: 200,}, {line: true, duration: 1000}, function () {// animation complete.}); Currently both animations are running simultaneously I need second animation to run after the first app I tried to put another inside the callback function, but $ (this) reference work Any way to get any idea how to get this job done?
Thanks in advance.
your work is incorrect , if you are declaring options Callback option goes into the object:
$ (". Anime-item"). Value ({left: 200,}, {line}: correct, duration: 1000, full: function ({Opacity: 1,}, {duration: 1000}, line: true, complete: function () {$ (this). In addition, do not make items global variables, which are just asking for trouble, especially JCII will maintain it for you in this example, if you need to declare a new variable for the item in Chenning, generally you are not doing it right May include;)
Comments
Post a Comment