[EMAIL PROTECTED] wrote:
> I'm trying to tweak the last two things out of timeline ready for
> beta this month. Can anyone tell me if these things are possible,
> I've tried a number of things to no avail (due to lack of knowledge
> on my behalf I'm sure):
>
> Is it possible to make the timeline "transparent" or have an image as
> a background?
>
I would try modifying the theme
theme.ether.backgroundColors = [ "none", "none", "none", "none" ];
By default the theme supplies background colors for up to 4 bands,
hence, 4 "none"s. The theme's default implementation is here:
http://simile.mit.edu/timeline/api/scripts/themes.js
> Is it possible to make the timeline re-sizeable like it is in Exhibit
> (but without loading Exhibit)? I've tried adding the grabbable module
> for JQuery but with very limited success.
>
The resizing widget in Exhibit is implemented here
http://static.simile.mit.edu/exhibit/api-2.0/scripts/ui/widgets/resizable-div-widget.js
Maybe you can borrow some code from that.
> I'm using timeline 2.0 BTW.
>
Ah, OK, then note that the you can override some styles using CSS, e.g.,
.timeline-band-0 {
// rules just for band #0
}
.timeline-band-1 {
// rules just for band #1
}
...
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general