Ben,

Could you give us a URL to your web page to debug this problem? I can't 
think of any reason for the error just looking at the code you already 
included.

David

Welsh, Ben wrote:
> Hello listers, 
>
> I'm trying to build out a simple Timeline with two bands, one months,
> the other years. When I run the config code below, FireFox 2 loves it,
> but IE6 chokes and throws errors along the lines of..."
>
> "Timeline.GregorianDateLabeller.monthNames[...] is null or not an
> object"
>
> or
>
> "Timeline.GregorianDatELebeller.monthNames' is null or not an object"
>
> Any idea what I'm screwing up? I've tried substituting a different date
> format for my d variable like...
>
> Timeline.DateTime.parseIso8601DateTime("1993-06-01T00:00:00Z")
>
> ...but it doesn't help. The one thing that will make it work again is to
> replace the " Timeline.DateTime.MONTH" in the large band with "
> Timeline.DateTime.YEAR" 
>
> I'm not sure what to make of that, but since I'm on a deadline it might
> force me to sacrifice the two-band display.
>
>
>   function onLoad() {
>             var tl;
>             var eventSource = new Timeline.DefaultEventSource(0);
>             
>             var theme = Timeline.ClassicTheme.create();
>             theme.event.bubble.width = 250;
>             theme.event.bubble.height = 145;
>             theme.event.bubble.align = "left";
>             theme.ether.backgroundColors[1] =
> theme.ether.backgroundColors[0];
>             var d = Timeline.DateTime.parseGregorianDateTime("1870")
>             var bandInfos = [
>                 Timeline.createBandInfo({
>                     width:          "80%",
>                     intervalUnit:   Timeline.DateTime.MONTH, 
>                     intervalPixels: 42,
>                     eventSource:    eventSource,
>                     date:           d,
>                     theme:          theme
>                 }),
>                 Timeline.createBandInfo({
>                     showEventText:  false,
>                     trackHeight:    1,
>                     trackGap:       2,
>                     width:          "20%", 
>                     intervalUnit:   Timeline.DateTime.YEAR,
>                     intervalPixels: 120,
>                     eventSource:    eventSource,
>                     date:           d
>                     
>                 })
>             ];
>             bandInfos[1].syncWith = 0;
>             bandInfos[1].highlight = true;
>             tl = Timeline.create(document.getElementById("tl"),
> bandInfos, Timeline.HORIZONTAL);
>             tl.loadXML("http://www.foo.com/file.xml";, function(xml, url)
> {
>                 eventSource.loadXML(xml, url);
>             });
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Robertson
> Sent: Thursday, March 13, 2008 8:49 PM
> To: List
> Subject: Message Problems on List
>
> What has happened to the message handling in this list?
>
> I now see lots of unreadable messages where the returns are not being
> handled properly. There is one long block of text with weird block
> characters instead of returns.
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to