Make sure that you are creating separate bandInfos for each timeline, not
passing the same one to each call to create your new Timeline.
The centerVisibleDate depends on the ether being used for the band, and if you
pass the same bandInfo objects to multiple timelines, they end up all using the
: simile-widgets-...@googlegroups.com
simile-widgets-...@googlegroups.com
Sent: Friday, January 27, 2012 9:03 AM
Subject: Re: [Simile-Widgets] I cant get these timelines to scroll together
Make sure that you are creating separate bandInfos for each timeline, not
passing the same one to each
Make sure you are using the developer's tools in your browser.
Firebug is essential for Firefox development. The developer console in Chrome
and Safari is also very helpful. All produce an error on Var foo
JSLint.com is a tool that can be used for better understanding finer points of
the
When I use JSLint.com to find a bug, it gives me a whole list of stuff that has
nothing to do with an app end error.
Presumably being picky about formatting.
Thus it tends to cloud the issue rather than illuminating it.
I have found http://jsbeautifier.org/ and Notepad++ useful though.
All
Mr. Nosal and Oliver,
Is there an interactive way to reset hotzones?
First blank out the existing zones. Call layout(). Issue a new set of zones,
and call layout() again. Or should I redeploy the complete timeline from
new Timeline.DefaultEventSource();
Interactively would be sort of like
All produce an error on Var foo
I didn't see this in Firebug, under Console - Errors.
Am I looking in the right place?
My mistake - you're right - it fails silently in Firefox 9.0.1.
--Mike
--
You received this message because you are subscribed to the Google Groups
SIMILE
screwed.
or
fails silently = the rest of your day is shot
Thanks
Jeff Roehl
jroe...@yahoo.com
(818) 912-7530
From: Michael Nosal mno...@mitre.org
To: simile-widgets@googlegroups.com
Sent: Friday, January 27, 2012 10:54 AM
Subject: Re: [Simile-Widgets] I cant
Can you see the problem with the following code?
The 3 timelines refuse to scroll with each other. Fail to synchronize.
TEOI81A2X.getBand(0).addOnScrollListener(function(band) {
Var centerDateXQK3K0LEY = band.getCenterVisibleDate();