How to make time delays?

Is there anyway of creating a time delay after a button is pressed so that you can use transition effects to make objects on the page dissapear before the browser follows the link?