Still didn't seem to work

On Sep 2, 8:28 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> I assume your selectors are just for example since $('slidediv') isn't a
> valid selector (unless you have an element like <slidediv>...</slidediv>,
> which you probably don't have if you're doing HTML).
>
> To delay the second effect, you can use setTimeout, like so (untested):
>
> $('slidediv').slideUp('slow', function() {
>     setTimeout(function() {
>         $('fadediv').fadeIn('slow');
>     }, 750);
>
> });
>
> Where 750 is the number of milliseconds to delay.
>
> --Erik
>
> On 9/2/07, atomicnuke <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm trying in slideUp a div then fade in another when it has completed
> > the slide. I tried using the fadeIn as a callback function
>
> > $('slidediv').slideUp('slow', function() {
> > $('fadediv').fadeIn('slow');
> > });
>
> > Is there a way to delay the fade, everything happens so fast you can't
> > really tell the new div is even there.

Reply via email to