Skip to content

Instantly share code, notes, and snippets.

@jakearchibald
Created September 17, 2009 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakearchibald/188431 to your computer and use it in GitHub Desktop.
Save jakearchibald/188431 to your computer and use it in GitHub Desktop.
new glow.widgets.Timetable(container, startTime, endTime, viewStartTime, viewEndTime, {
// timetable options
tracks: [
// add an array for each track like this...
[trackTitle, trackSize, {
// track options
items: [
// add an array like this for each item
[title, startTime, endTime, opts]
]
}]
]
})
// each of the tracks are just an array of parameters used by
// http://www.bbc.co.uk/glow/docs/1.6/api/glow.widgets.timetable.shtml#method:addtrack
// each of the items are just an array of parameters used by
// http://www.bbc.co.uk/glow/docs/1.6/api/glow.widgets.timetable.track.shtml#method:additem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment