Are you sure you really want to do that because it’ll delay the new page being opened to the user by the time it takes to fade out the div? It could be very annoying for some users (including me ).
But in any case, you could put an onclick event handler on a link that first fades out the div and then redirects to the target page for the link.