[jQuery] Slide in / out message

[jQuery] Slide in / out message


Hi all,
I try to make a div to slide down, pauze for 5 seconds and then slide
up. This is meant for showing a message. Just like the Twitter
interface. But I cannot get it working. Anyone an good idea?
Thx in advance!
Current code:
$(".testbutton").click(function () {
$('#test').slideDown( 'slow' );
        timer = setTimeout('$(".testbutton").click()',500);
        $('#test').slideUp( 'slow' );
        return false;
});