Kxtells wrote:
> Hi Everyone!
>
> I don't know if this is the correct place to post this, if it's not,
> please redirect me.
>
> I've been using timeline in a simple way, but I keep getting troubles
> with Internet Explorer 7.
> I can't find any response in old mailing lists or googling, so, here I
> am.
>
> My problem is that in other browsers (Firefox3 and 2, Safari, IE8,
> Opera) the timeline centers correctly
> according to the atribute date for createBandInfo. But not in IE7:
>
> The code is as following:
>
> function onLoad(file,date2center) {
> var eventSource = new Timeline.DefaultEventSource();
> var d = Timeline.DateTime.parseIso8601DateTime
> ("2009-05-17T12:00:00Z"); //THE DATE TO CENTER
>
> var bandInfos = [
> Timeline.createBandInfo({
> eventSource: eventSource,
> date: d, //THE DATE TO CENTER
> //date: "2009-05-17 08:00:01Z",
> width: "100%",
> intervalUnit: Timeline.DateTime.DAY,
> intervalPixels: 70
> })
> ];
>
> tl = Timeline.create(document.getElementById("my-timeline"),
> bandInfos);
> Timeline.loadXML("xml/"+file+".xml", function(xml, url)
> { eventSource.loadXML(xml, url); });
> }
>
> But IE7 keeps centering somewhere near April 30, May 1
>
Which version of Timeline are you using? I vaguely remember there was
some bug about the center date on IE, but I thought that was fixed.
David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---