How to PreLoad Wordpress Page Before Rendering?

...and have a simple "loading" graphic display while the page loads?

Any simple javascript and/or css I can put in my head injection plugin that will do this?

So far all the options I've tried online haven't worked?