This can be achieved by overriding the paintImpreciseDurationEvent
function in original-painter.js. Add the following line where the
precise-tape and label events are registered:

    SimileAjax.DOM.registerEvent(impreciseTapeElmtData.elmt,
"mousedown", clickHandler);

Dom


On Jun 18, 1:29 pm, Dom <[email protected]> wrote:
> Hi,
>
> first of all, congratulations on a slick framework that is the
> timeline! I've only just started to prototype with it and was able to
> get up and running pretty easily following the basics wiki. Thanks to
> all who contributed!
>
> I'm using the timeline to show duration events that will have progress
> measured inside the tape by filling a percentage of the tape a certain
> colour. Green meaning progress is on target, orange meaning running a
> little too fast/slow and red meaning progress is vastly off target.
>
> I'm able to achieve this by using mathmatically figuring out what the
> earliestEnd date would be and adding this to my json feed. The
> earliestEnd date would be the point which the colour is filled up to,
> thus indicating precentage progress.
>
> Clicking on the event pops up a bubble and I'm able to display other
> info about the event. However, clicking the imprecise part does not
> popup the bubble (the part between earliestEnd date and actual end
> date). I probably need to add a listener somehow but can't figure out
> how or where?
>
> Can someone help please?
>
> Thanks,
> Dom
--~--~---------~--~----~------------~-------~--~----~
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