There are two functions, the first animation and the second asynchronous ajax data download to replace the content.
How to run the function to complete the download and animation?
all through jquery.
Launch
- click on the link
- start ajax loading content into variable
- Start of animation
in fact, the idea of smoothly animating an element to hide a download, instead of showing preloads.