The other day when I was on PubSub I noticed their simple “Instructions”. If you notice you, the text in the textarea fades away when you focus on the textarea.

It got me thinking of how I could do this. Turns out it is quite simple to do.

To see a working example (very pretty one at that) JavaScript Fader Example (All source code for this example is in this file).