[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-06 Thread chrismarx
"$elem.animate( {opacity:0} , {queue:false, duration:600, complete:callback} ) .animate( {height:"hide"}, 700); " this works! why this manage to allude me? how was one supposed to know that the last parametere was to be called complete?? thanks for the help- On Jan

[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-05 Thread chrismarx
ok, yeah that works. i guess i was wondering how to make it work with the "queue" option. i ended up just putting the callback in the second animate call $elem.animate( {opacity:0}, {queue:false, duration:600} ) .animate( {height:"hide"}, 700, callback ); On Jan 4, 11:15 am, Alexandre P

[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-04 Thread Wizzud
On Jan 3, 4:17 pm, chrismarx <[EMAIL PROTECTED]> wrote: > hi, > this works fine > > $elem.animate( {opacity:0}, 600, callback) > .animate( {height:"hide"}, 700); > > but this doesn't > > $elem.animate( {opacity:0}, {queue:false, duration:600}, callback) > .animate( {height:"

[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-04 Thread Alexandre Plennevaux
try $elem.animate( {opacity:0}, 600, function(){ $(this).animate( {height:0}, 700); })

[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-04 Thread chrismarx
anyone? On Jan 3, 11:17 am, chrismarx <[EMAIL PROTECTED]> wrote: > hi, > this works fine > > $elem.animate( {opacity:0}, 600, callback) > .animate( {height:"hide"}, 700); > > but this doesn't > > $elem.animate( {opacity:0}, {queue:false, duration:600}, callback) > .animate( {