Created
September 17, 2009 09:52
-
-
Save jakearchibald/188431 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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