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 = $(this).attr('id');
>                 $('.post-info-' + id).slideToggle("medium", function()
>                 {
>                     $(this).toggleClass("toggled");
>                 });
>                 return false;
>
> });

Perfect! Thank you sir!

Reply via email to