ka215 / jquery.timeline

You can easily create the horizontal timeline with two types by using this jQuery plugin.
MIT License
240 stars 43 forks source link

Event's border color. #74

Open lohe opened 3 years ago

lohe commented 3 years ago

Event's border color. Although there is bdColor for schema, there is nothing similar for event's itself. I made in my local copy some changes to fix that. I think it is a good idea to add it to main release as well. Although I made changes in min file, I point out location in timeline.js file:

I'm aware, that the calculations are in wrong place to make, but it works for me. My main point is that please add border color possibilities per event itself as well (JSON that is added to element). For me, the reason was to mark out the overlapping things for similar events (vacations, person vs replacement person overlapping schedules).

By default, it can be the event's background color, but there should be an option to change at least the border color.

ka215 commented 3 years ago

Thank you for your suggestion!

I will consider introducing the option of adding a border definition for the event node itself.