[jQuery] Re: SlideToggle Callback Help

2009-04-22 Thread Shane Riley
So what you're trying to do is ensure that the slideToggle is done animating before you add/remove a class? If so, you'd do something like this: $('.open-post-info').click(function() { var id = $(this).attr('id'); $('.post-info-' + id).slideToggle(medium,

[jQuery] Re: SlideToggle Callback Help

2009-04-22 Thread Chris
On Apr 22, 9:15 pm, Shane Riley shanerileydoti...@gmail.com wrote: So what you're trying to do is ensure that the slideToggle is done animating before you add/remove a class? If so, you'd do something like this: $('.open-post-info').click(function() {                 var id =