I'm having an issue with trying to create multiple bands using DAY.
Basically if i copy the original working DAY band, then the timeline blanks 
out.

Is there something i"m missing to make multi bands work? The overall goal is 
to get different event sources to each.

Here's the basic code:

function onLoad() {
   var eventSource = new Timeline.DefaultEventSource();

   
   var bandInfos = [
     Timeline.createBandInfo({
         eventSource:    eventSource,
         date:           "Aug 30 2011 00:00:00 GMT",
         width:          "100px", 
         intervalUnit:   Timeline.DateTime.DAY, 
         intervalPixels: 50
     }),
     var bandInfos = [
     Timeline.createBandInfo({
         eventSource:    eventSource,
         date:           "Aug 30 2011 00:00:00 GMT",
         width:          "100px", 
         intervalUnit:   Timeline.DateTime.MONTH, 
         intervalPixels: 60
     }),
     Timeline.createBandInfo({
         eventSource:    eventSource,
         date:           "Aug 30 2011 00:00:00 GMT",
         width:          "100px", 
         intervalUnit:   Timeline.DateTime.MONTH, 
         intervalPixels: 100
     }),
    
   ];
   bandInfos[2].syncWith = 0;
   bandInfos[1].syncWith = 0;
   bandInfos[0].highlight = true;
   
   tl = Timeline.create(document.getElementById("my-timeline"), bandInfos);
   Timeline.loadXML("wa_test.xml", function(xml, url) { 
eventSource.loadXML(xml, url); });

 }

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/simile-widgets/-/WcVO5z39_dAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to