Opening a new HTML after an animation

Opening a new HTML after an animation

I'm sure that this is easy enough, I'm still clueless as to how to make it happen. I want to click on a picture, have a shade slide across to "close" the image, then open a new html in the same window. I can do both independently, but the page opens off the <a> tag instead of any jquery I know to use, so the new page opens before any animation happens. what can I do to fix this?