Blocked Schedule Display
Below are two examples of how to display a schedule in blocks. The first example displays the show times vertically, the second horizontally. The data for this schedule was taken from a TV listing for a Wednesday night in January, 2000. I deleted two shows (my apologies to Norm and Friends) so that empty blocks could be displayed.This code would also work for calendars, class schedules or anything else that is scheduled by time.
Vertical Times
ABC | CBS | FOX | NBC | |||||||||||||
8:00 PM | Two Guys and a Girl | JAG | Beverly Hills, 90210 | Twenty One | ||||||||||||
8:30 PM | Its like, You Know? | |||||||||||||||
9:00 PM | Drew Carey | Get Real | West Wing | |||||||||||||
9:30 PM | ||||||||||||||||
10:00 PM | 20/20 | News | Law & Order | |||||||||||||
10:30 PM | ||||||||||||||||
11:00 PM | News | News | ||||||||||||||
11:30 PM | Nightline | Simpsons | Jay Len (12:30 AM) |
|||||||||||||
|
Horizontal Times
8:00 PM | 8:30 PM | 9:00 PM | 9:30 PM | 10:00 PM | 10:30 PM | 11:00 PM | 11:30 PM | |||||||||||||
ABC | Two Guys and a Girl | Its like, You Know? | Drew Carey | 20/20 | News | Nightline | ||||||||||||||
CBS | JAG | |||||||||||||||||||
FOX | Beverly Hills, 90210 | Get Real | News | Simpsons | ||||||||||||||||
NBC | Twenty One | West Wing | Law & Order | News | Jay Len (12:30 AM) | |||||||||||||||
|