Adding a page loader using jQuery
This has many solutions, but a simple one is to: 1- Create an overlay DIV with your loader stuff and prepend to BODY;2- Add an event listener for window.load or document.ready event that hides this DIV. (code typos fixed)