On Jan 30, 7:08 pm, John Resig <jere...@gmail.com> wrote:
> It looks like you're trying to use a jQuery UI effect - maybe that's why?

Thanks John. Forgive my ignorance, but how does jQuery know that
you're calling the toggle() UI effect as opposed to the toggle() core
effect? For example:

// toggle UI
$("p").click(function () {
    $("div").toggle("slide", {}, 1000);
});

// toggle core
$("button").click(function () {
    $("p").toggle("slow");
});

Reply via email to