Hi,
I am using timeline bands for days and week.
It is working fine in FF but gives Invalid parameter error in IE
// bandInfos[1].syncWith = 0;
if we comment this it works fine in IE but than both bands of time
line does not work in synchronization.
Can some body help with this IE issue
below is the code snippet for the same.
function onLoad() {
var tl_el = document.getElementById("tl");
var eventSource1 = new Timeline.DefaultEventSource();
var theme1 = Timeline.ClassicTheme.create();
theme1.autoWidth = true; // Set the Timeline's "width"
automatically.
// Set autoWidth on the
Timeline's first band's theme,
// will affect all bands.
theme1.timeline_start = new Date(Date.UTC(1970, 0, 1));
theme1.timeline_stop = new Date(Date.UTC(2009, 0, 1));
var d = Timeline.DateTime.parseGregorianDateTime("1980")
var bandInfos = [
Timeline.createBandInfo({
width: "80%", // set to a minimum,
autoWidth will then adjust
intervalUnit: Timeline.DateTime.DAY,
intervalPixels: 200,
eventSource: eventSource1,
date: d,
theme: theme1,
layout: 'original' // original, overview,
detailed
}),
Timeline.createBandInfo({
width: "20%",
intervalUnit: Timeline.DateTime.WEEK,
intervalPixels: 200,
eventSource: eventSource1,
date: d,
theme: theme1,
layout: 'overview' // original, overview,
detailed
})
];
bandInfos[1].syncWith = 0;
bandInfos[1].highlight =
true;
// create the Timeline
tl = Timeline.create(tl_el, bandInfos,
Timeline.HORIZONTAL);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
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
-~----------~----~----~----~------~----~------~--~---