Hi Warf,

Well, I can see that the ref to bundle.js in your page is now gone. You can now 
see from firebug that you are no longer attempting to load it.

You should not be renaming any of the bundle files. You're correct that the 
file is timeline-bundle.js 


Regarding your current problem:

My recommendation is that you first get a minimal timeline running, then add 
features to it.

Regarding your error 
bandInfos[1].eventPainter.setLayout(bandInfos[0].eventPainter.getLayout());

what are you trying to do there?
Looks like something from ver 1. Just take it out.
There are no setLayout or getLayout methods in the current version of the 
timeline software, I just did a search for them.

Use one of the examples in the current trunk version as a guide for your 
software.

Regards,

Larry



________________________________
From: Warf <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Thursday, December 18, 2008 1:58:01 PM
Subject: Re: Version 2.2.0 and/or hosting Simile timeline issues


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