Delay() disables animate(), fade(), etc.

Delay() disables animate(), fade(), etc.

Hey guys, I'm attempting to use the delay method added in 1.4, but having some trouble. Not sure if this is a bug, or if there's something that needs to be done in order for this to work. This is the simple code being used.
  1. jQuery(function(){
        jQuery('.test').hide().animate({opacity: 'show'}, 500).delay(5000).animate({opacity: 'hide'}, 500);
        jQuery('.click').click(function(){
            jQuery('.test').animate({opacity: 'hide'}, 500);    
            return false;
        });
    });





What I would expect to happen is the element with the class "test" will fade in, wait about 5 seconds, then fade out. This works as expected.

The problem occurs when you try to click the anchor element with the class "click". It should also fade the "test" element out. What ends up happening, is the anchor (.click) doesn't do anything.

If I replace the animate() method with hide(), it works fine.

Is there anything that I'm doing wrong, or missing, or is this just a bug?

Here is my test page to give you a live example.

Thanks,

Jarod