Hi Larry,
> Am I understanding you correctly that a band with a start and stop
> date won't be scrollable? Does that mean that it needs to fit entirely
> in the width of the browser?
That's the idea.
> Sounds like the plan is to implement the band with start/stop dates as
> an overview band with low resolution, then have a more detailed band
> (the main one) be scrollable. Is this right? If so, what happens when
> the main (detailed) band gets to the left or right side of the over
> view band? Does it stop scrolling at that point?
The fixed band I use is an overview one. For now, the detailed band can
move beyond the the start and end date. It's not consistent but it's not
my main problem for now, I will fix that later. Also, I added two small
control buttons (left and right arrow buttons) below the timeline so that
users can click on it to scroll the bands. The actual main reason for adding
these buttons comes from the feedback we had from quite a few users who
told us it wasn't that obvious that the bands can be scrolled by DnD.
> Regarding your patch:
> Can you use a better comment than
> + // hack for easier subclassing
> + if (timeline !== undefined) {
> + this.initialize(timeline, bandInfo, index);
> + }
>
> What are you accomplishing by the statement (timeline !== undefined)?
> Why would timeline be changed from defined to undefined (or vice-
> versa) at that point?
> Would it be better to use "extend" from
> http://www.kevlindev.com/tutorials/javascript/inheritance/index.htm or
> similar?
This was actually to be able to create a base prototype and extend it.
I know there's a few code sampes or library out there which deal correctly
with pseudo class subclassing, I'm not familiar with them yet. I wil take
a look at them.
Side question : I think jQuery is used by exhibit or some of the
widgets. Could it
be used also in the timeline ? Is it already a dependency ? If not, is
there a reason
for not depending on it ? I guess it would probably help a bit here and there.
Cheers,
Adrien.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---