Hide page until everything is loaded Advanced
问题 I have a webpage which heavily makes use of jQuery. My goal is to only show the page when everything is ready. With that I want to avoid showing the annoying page rendering to the user. I tried this so far ( #body_holder is a wrapper inside body ): $(function(){ $('#body_holder').hide(); }); $(window).load(function() { $("#body_holder").show(); }); This works completely fine, but messes up the layout. The problem is that hiding the wrapper interferes with the other jQuery functions and