Pure CSS and Javascript elem Fade

Without JQuery.

This code uses a simple set of Javascript functions and css to cause an HTML page element like a div to fade in or out by changing the opacity over a time period. This method is how to do it without a JS Framework.

View the source of this page to see how it works. Tested on the latest versions of IE, Firefox and Chrome.

x

This is a sample message.