Hi All,
I am using simile timeline widget in my project. The requirement of my
project is to show the events pertaining to a single activity on same
track with a bar connecting all events. Typical timeline looks as
follows:
0=======0======0===0====0
Here '0' corresponds to a 'non-duration' event and "====" corresponds
to a 'duration' event connecting these non-duration events to present
this as one activity with flags/indicators marking important
milestones at certain point in time of this activity. I was able to
achieve this by using 'trackNum' attribute of event and keeping the
title attribute of each event as empty string so that all the related
events show up on same track.
Timeline in our project could have multiple such tracks and we want to
label each of these tracks with a title so that user can easily
identify the activity he/she is interested in and explore further by
clicking on that activity related events. We want the timeline to look
like this:
(Activity A) 0=====0==0====0===0
(Activity B) 0==========0===0===0===0
In order to achieve the above kind of display I added the title
attribute only to the first event in the activity. However, by default
timeline puts the title of the event (non-duration) always to the
right of the icon. This make the title ('Activity A') being overlapped
by subsequent non-duration events (if they are close enough) or the
duration event following the first event. I checked how the duration
events are layout using firebug and found that there are two separate
divs - one for icon and one for title and there is no parent div
enclosing both of them. I was hoping to change the layout by using
'float: right' property but given the layout I think this might not be
possible as there is no container div for both icon and title.
Is there any way to achieve the title of non-duration event to come
before the icon of the event? We want only the icon to be at the
correct temporal position (at the time event occurred). So it is OK if
the title comes before the actual occurrence of the event.
Any pointer/help will be of great help.
Thanks,
Atul
--
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.