John Callahan wrote:
> I do like the way the vertical scrollbar feels.  Looks good.   Two quick 
> notes...
>
>
> - for styling, I see both scrollbar divs have classes 
> (timeline-band-scrollbar and timeline-band-scrollbar-thumb).  However, 
> only the outside div has an ID (timeline-band-scrollbar-0)   Does it 
> make sense for the inner/thumb div to also have an ID assigned to it?   
> I'm not really sure if an ID would be required for most things, but I do 
> know that getElementById tends to come up a lot in js coding.
>   
You could do
    #timeline-band-scrollbar-0  .timeline-band-scrollbar-thumb {
       ...
    }
to target your CSS at the thumb.

> - Just a thought...  when you pan to the left or right, until there are 
> very few to no events displayed on the timeline, should the vertical 
> scrollbar change size (extend) to the full height of the band?    It 
> seems that the scrollbar keeps it's dimensions based on the thickest 
> part of the timeline. 
>   
There's a technical challenge to do that. The band redraws itself only 
occasionally, when you've scrolled to a point where you're about to go 
beyond the time span that it has painted. This time span is some 
multiples of the visible width of the time line. The band only knows the 
overall amount of space the events take up in that time span. It doesn't 
know how much space (vertically) the events take up at any particular 
point in time. So, it can't render its scrollbar at that level of 
granularity.

David

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