Toggle callback destroyed by UI effects?

Toggle callback destroyed by UI effects?


Hi there jQuery gurus
If I use jQuery UI effects with toggle, my call backs doesn't seem to
fire.
If I change say:
$(document).ready(function() {
$("button").click(function() {
$("p").toggle("slow", function() { alert('hey'); });
});
});
into using the jQuery UI effect "slide" instead of the build in jQuery
"slow":
$(document).ready(function() {
$("button").click(function() {
$("p").toggle("slide", function() { alert('hey'); });
});
});
the anonymous call back function isn't called anymore. Why is that?
Anyone?
best regards
Michael Brandt Lassen