It's complaining that it cannot find your timeline div.

Looking at your source, you have <div id="travel-timeline"> but you call
tl = Timeline.create(document.getElementById("tl"),bandInfos,  
Timeline.HORIZONTAL);

You need to pass it a valid id. Change "tl" to "travel-timeline" and  
it should work.

--Mike

On Dec 18, 2008, at 1:58 PM, Warf wrote:

>
> Thanks a lot Larry... your post and video were extremely helpful
> I did also track it down last night to somehow referencing
> bundle.js... however I can not find that reference anywhere in my
> code/
> files.
> The only reference I have is to timeline-bundle.js and timeline-
> bundle.css
> Were those files referenced somewhere else, and I was supposed to
> rename them?
> I did try renaming and duplicating those files... and it moves me a
> few steps closer.
>
> I also found one BIG ERROR, where I accidentally included a second
> call to the MIT server,
> once I removed that it came down to 1 error left, and I cannot see
> where it might be
> wrong.
>
> http://www3.telus.net/warfsworld/html/travel/travel_timeline_host.htm
> (line 101)
>
> bandInfos 
> [1].eventPainter.setLayout(bandInfos[0].eventPainter.getLayout
> ());
> <!--   Uncaught TypeError: Object [object Object] has no method
> 'getLayout'           -->
>
>  tl = Timeline.create(document.getElementById("travel-timeline"),
> bandInfos);
>  Timeline.loadXML("timeline.xml", function(xml, url)
> { eventSource.loadXML(xml, url); });
> }
> ========================
> In FIREBUG it also points at "tl is undefined"
>
> var resizeTimerID = null;
> function onResize() {
>    if (resizeTimerID == null) {
>        resizeTimerID = window.setTimeout(function() {
>            resizeTimerID = null;
>            tl.layout();
>        }, 500);
>    }
> }
>
> On Dec 17, 6:38 pm, Larry Kluger <[email protected]> wrote:
>> Hi Warf,
>>
>> Welcome to Timeline.
>>
>> Since you posted your url, it was easy for me to spot the problem:
>>
>> You're referencinghttp://www3.telus.net/warfsworld/timeline_js/bundle.js
>>
>> But nothing is there on your server. Or at least, nothing is being  
>> downloaded.
>>
>> So either you didn't upload the bundle file correctly, or you  
>> referred to the wrong directory in your settings in your Timeline  
>> file.
>>
>> I made a screencast that shows how to spot the problem using  
>> Firebug, the debugger for Firefox:www.sandbox.kluger.com/timeline_firebug
>>
>> Hope this helps.
>>
>> Let us know when you get it working, and we'll add your page to the  
>> In the Wild list of Timeline users.
>>
>> Thanks,
>>
>> Larry
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to