If there's some kinda conflict test to make an extra callback call,
ie.

function doSlideDown(){
    $("#externalform").slideDown(500);
}

$("#pageWrap").slideUp(1000, function(){
               doSlideDown();
               $("#btn_uopBack").fadeIn(250);
})


..fredrik

On Jun 23, 8:52 pm, Matthew <mvbo...@gmail.com> wrote:
> Hi all,
>    I am trying to slideUp a container Div and using the slideUp's
> callback parameter call slideDown on a different element that is not
> inside the slideUp container Div:
>
> $("#pageWrap").slideUp(1000, function(){
>                $("#externalform").slideDown(500);
>                $("#btn_uopBack").fadeIn(250);
>
> });
>
> One again all the elements being used with the effects are not
> children or parents of each other.
>
> The problem seems to be that when you call a slideDown or slideUp
> inside a slideUp or slideDown callback the intial effect does not
> work. So in my above example the $("#pageWrap").slideUp just jumps up
> without a slide. I need the callback so I can have the effects happen
> after the initial slideUp. Since I'm calling effects on different
> elements I can't do the dot chain. Any other way to make this happen?
> I'd like to avoid settimeout() if possible.
>
> ~ Matthew

Reply via email to