Hi Warf,

Congrats on your progress. Programming ain't easy.

Anyhow, if I were you, I'd be thinking about two different courses of action:

1) Stepwise refinement: delete lots of stuff from your file until it works. 
Then add things back until it doesn't. When you find what software stops the 
Timeline from working, investigate intensively to figure out the issue. Or ask 
on the mailing list. I've sometimes deleted 75% or more of a source file to 
figure out what is going on. Remember to use binary search: split the file in 
half, and figure out which half has the problem. (You now know which 50% of the 
software is good, and which 50% has the error within it.) Then split the 
problem half in half and try both ways. You're now down to which 25% of the 
file holds the problem, etc.

2) Diagnosing the problem. To do this, you will want to first use the 
unbundled, unminimized versions of the libraries. That way you can see what is 
actually happening. But to solve the problem you'll need to start understanding 
the inards of the Timeline library. Can be done, but usually method 1 will be a 
lot easier and faster.

Good luck,

Larry




________________________________
From: Warf <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Friday, December 19, 2008 1:26:47 AM
Subject: Re: Version 2.2.0 and/or hosting Simile timeline issues


Hi Larry, Once again, very helpful... it definitely does seem to be
legacy of going from a completely functioning version 1 to a new
version 2.

I removed the line as suggested and have been tracing the newest
errors, looked through the Monet and other examples to see where I
might be going wrong, and it seems to be right, however I am still
left with...

H is Null in /timeline-bundle.js

Timeline._Impl.prototype._initialize=function(){var
H=this._containerDiv;
var E=H.ownerDocument;
H.className=H.className.split(" ").concat("timeline-container").join("
");
var C=(this.isHorizontal())?"horizontal":"vertical";
H.className+=" timeline-"+C;
while(H.firstChild){H.removeChild(H.firstChild);
}

I think I had one blank band up for a few minutes, but I know I am
close!

Thanks again for all your assistance!

Warf

On Dec 18, 11:11 am, Larry Kluger <[email protected]> wrote:
> 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
>


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