Dashboard Sample Code

Apple has posted some Dashboard sample code
to demonstrate to developers how to do certain techniques in their
widget applications.  Currently, there are only three examples
posted, but they deal with things like DHTML, stretching, and fading.