The Xomino Watermark control contains a working demonstration of the customer control created as part of the jQuery in XPages series on the http://www.xomino.com blog.

 

For a detailed explanation of how the control works please see the following link.

jQuery in XPages #6 - watermark.js