Smoothly transition to a new page.

When the user navigates to another page, almost all websites instantly replace the old page with the new one. Instead, I want to "smoothly" transition from the old page to the new page with some kind of animation (fading, sliding, etc.). I'm open to what the animation is.