Wednesday, May 22, 2013

Getting rid of flashing white page on your website

Today it's going to be a quick one, and I actually don't have a link this time, I just remember I had to deal with a flashing white page appearing for a split second on a black background website that obviously didn't look very good. Reading through a couple of articles, I learned that the cause of the issue is that I have used javascript on my website but the script itself was in the header. This could be anything, even your Google Analytics code. The solution: put your javascript code into the footer section (towards the end of your page)! Easy-peasy! Have fun! ;)

No comments:

Post a comment

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.