[jQuery] "Page loading" overlay
I have a couple of pages in a web app which are really huge (the
markup runs to almost 20,000 lines)--which is fine, in the context of
those pages. I'd like to add an overlay that will block interactions
until the while page is loaded. Previously, I've done this with a
document.write("<div id="overlay"></div>") inside the page body, with
an onload function that hides the overlay. I was hoping there was a
smarter way to do it with jquery. Is there a way to fire off a
function when the body /starts/ to load?
-- Owen