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

xamanu’s picture

Status: Active » Closed (fixed)

please check this with the SIMILE Timeline documentation or community: http://www.simile-widgets.org/timeline/