thanks Karl, works perfectly!

On Feb 6, 2:50 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi Stef,
>
> You can write a custom animation like this:
>
> jQuery.fn.fadeToggle = function(speed, easing, callback) {
>    return this.animate({opacity: 'toggle'}, speed, easing, callback);
>
> };
>
> Then, you can do this:
>
>         $(".bio-toggler").click(function () {
>                 $("#bio-form").fadeToggle()
>         });
>
> --Karl
> _________________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Feb 5, 2008, at 1:34 PM, stef wrote:
>
>
>
> > toggle() works great but im wondering if its possible to combine it
> > with fadeIn / fadeOut so that the change isnt so abrupt? i tried just
> > appending it after toggle() in the code below but that doesnt work.
> > anyone?
>
> >    $(".bio-toggler").click(function () {
> >            $("#bio-form").toggle()
> >    });

Reply via email to