Note: This demo needs php and doesn't fully work on github-pages.
This is only slightly styled example: