Hi Scott,
I'm glad you've solved the other problems.
Scott Longberry wrote:
> That leaves me with one problem from the original message and a new
> question. The remaining problem is trying to figure out how to make
> the instant event more visible by making it wider. I tracked it down
> to the following code in the painter.js file:
>
> if (p._showLineForNoText) {
> div.style.width = "1px";
> div.style.borderLeft = "1px solid " +
> (background != null ? background : eventTheme.instant.lineColor);
> realign = 0; // no shift
> length = 1;
> } else {
> appendIcon(evt, div);
> }
>
> But what I am finding is that if I change the width here, I see no
> results. I have also tried changing it in the bundle.js file in case
> that is where it is actually being picked up from and have the same
> problem, no change. Am I in the right location for this? Or am I
> barking up the wrong tree?
>
You are at the right place. Have you tried changing both div.style.width
and div.style.borderLeft?
(As a related note, if you include timeline-api.js as follows
<script src=".... /timeline-api.js?bundle=false"></script>
then timeline-api.js will load separate .js and .css files instead of
bundle.js and bundle.css. And running ant in the timeline directory
would do the bundling.)
> As for my new question, do you have any thoughts on using a select
> field for filtering rather than a text field? All of my events are
> prioritized and it would be nice to have a pre populated select list
> to filter with. I'm working on it, but just thought I would ask your
> thoughts while I have your ear.
>
As you might have guessed, setupFilterHighlightControls isn't really a
part of the API. It was an after thought. And we now have a related
project called Exhibit that supports list-based filtering:
http://simile.mit.edu/exhibit/
Let us know if it's good enough for what you need.
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general