Sunday, November 7, 2010

Widget: Aesop's Fable of the Day in English

This weekend I reworked my old Aesop's Fables Illustrated widget so that it is now an Aesop's Fable of the Day Illustrated, with 366 items, one for every day of the year, including leap years.

For each day, there is the complete text of the fable in English (before it was just a partial text), along with an illustration, 200 pixels in width. Links are provided both for the text source and the image source. I've tried to pick short fables so that the text does not make the widget too large.

It fits nicely in a sidebar that is set at 200 pixels, or you can insert the script into your own table set at 200 pixels in width, which is what I have done below (although that will only be visible at the blog itself; for those of you reading this post via email, you'll need to visit the blog to see the scripts in action). As with all the date-based widgets, you can also get a randomized version if you prefer!

For those of you who were already using this widget, you will see that it is automatically displaying with the new content, since the name of the script file remains unchanged from before. :-)

Here is the table of raw data if you are curious to see all the fables set out together on one page!

Date-Based Version

Here is the date-based javascript:

Here is the date-based script in action:

Random Version

Here is the random javascript:

Here is the random script in action:

(more widgets at