Closed (fixed)
Project:
Timeline
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2008 at 19:55 UTC
Updated:
24 Jul 2009 at 03:37 UTC
Hi everyone, I am using timeline as a community calender, and it works great. My top band is in hours, and as nothing ever happens from 0 to 8am I want to make this time period smaller, for every day.
I have following code in timeline.js:
...
var bandInfos = [
Timeline.createHotZoneBandInfo({
zones: [
{ start: "Jan 14 2008 00:00:00 GMT",
end: "Jan 14 2008 09:00:00 GMT",
unit: Timeline.DateTime.HOUR,
magnify: 0.33,
multiple: 3
}
],
width: '75%',
intervalUnit: Timeline.DateTime.HOUR, /*units[0],*/
intervalPixels: 46,
...
It works for this special day. Now as I am not a programmer at all, I do not know how to make it work for every day on the timeline, and would greatly appreciate any help you could offer.
Comments
Comment #1
xamanu commentedplease check this with the SIMILE Timeline documentation or community: http://www.simile-widgets.org/timeline/