It was designed for a local radio station, but it also works for TV schedules, student timetables, and other time-based layouts.
Working demo
Use it
var schedule = new Timetable("timetable");
schedule.addEvent("Breakfast", 8.3, 1);
schedule.addEvent("Build", 10, 2.3);
schedule.goTo(8.3);
Source
The unminified JavaScript and CSS are available to inspect or download.