Hi Praveen,

I believe that this is by-design, at least for "out-of-the-box"
functionality.
You may want to do something similar to what we do, as follows.

If you want the icon but no tape to appear then include something
similar to this in each JSON "record":
      start:"2009-06-08T17:00",

If you want the tape but no icon to show up then do this:
      start:"2009-08-17T00:00",
      end:"2009-08-17T23:59",

In other words, conditionally include an "end" value.  Since you're
grabbing the source data out of MySQL, that should be easy to do in
your PHP script.

HTH,
-Mark


On Oct 6, 10:43 pm, Praveen <[email protected]> wrote:
> Anyone have an idea? The timeline is working great pulling data
> through exhibit, but I can't figure out the solution to this problem.
> When I remove ex:end=".enddate" all the icons show up, but the
> duration span image no longer appears bc this is no longer defined.
> When I keep ex:end=".enddate" in the coding, the span shows up but the
> individual icons do not. Any help would be appreciated! Thanks!
>
>  <div ex:role="view"
>
> >                                         ex:viewClass="Timeline"
> >                                         ex:start=".date"
> >                                         ex:end=".enddate"
> >                                         ex:colorKey=".type"
>
> On Oct 4, 11:52 pm, Praveen <[email protected]> wrote:
>
> > I am importing timeline data from a mysql database. The dates are
> > defined with teh followign code:
>
> > <div ex:role="view"
> >                                         ex:viewClass="Timeline"
> >                                         ex:start=".date"
> >                                         ex:end=".enddate"
> >                                         ex:colorKey=".type"
>
> > This works great for events with a start and end date longer than one
> > day. In fact, I can't get it to work unless there are values in both
> > the "date" and "enddate" table entries. If I place the same date in
> > both the date and enddate, the label appears on the timeline but there
> > is no icon. How can I fix this? I imagine it is easy, maybe the
> > durationevent:false?
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
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