Fading out div content onload

I have the following script that shows a "page loading" message while the page is loading. What I would like it to do is fade out after the page has loaded instead of just disappearing. I have tried applying styles and filters (blendTrans) but i get errors. Here is the code:

I changed the line that you said, but the effect is still not playing on my machine. I have been playing around with looping the <div>'s opacity down to zero, but it seems to jump straight from 100 to 0 with no effect. In the meantime, I'm gonna go look for some other effects scripts and maybe just write this one over from scratch. Thanks

Alright...after a couple hours of research and writing code, I have achieved the effect I was looking for. You can see the effect in action at http://www.sourcecodevault.com or copy and paste this script into the <head> section of any page you want. Thanks for your efforts hexagon47!

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…

Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments.
What Bitcoin is:
Legality:
Risks:
Benefits:
Which businesses are best suited?:
Other things you should know:
How to get started: