Mark Finkle has put together a simple demonstration application that uses the offline APIs in Firefox, including source.

In other offline application news, John Resig has written about how the offline/online notifications work.