mickaelr / jquery-timelineMe

A flexible timeline plugin
MIT License
57 stars 18 forks source link

Horizontal mode #6

Open smartmeter opened 8 years ago

smartmeter commented 8 years ago

Hi can I switch to horizontal mode, and also have summary of running items.

mickaelr commented 8 years ago

Hi!

I'm still working on the horizontal mode. Actually I was hesitating between doing it only with CSS classes and building an entirely different html architecture through jquery. Do you have any requirement / idea for this mode?

For the summary of running items, why not. What do you have in mind exactly? Only retreive items array (passed in options) or HTML nodes?

smartmeter commented 8 years ago

Sorry for delay I wanted to give you some concrete examples of code on what I was referring to

mickaelr commented 8 years ago

Sounds clear for the 2 last points, I'll add it on my TODO list (I'm pretty busy nowadays but I'll try to keep some time on that)!

For the horizontal redraw, what do you mean with "collapsing dialog boxes"? The collapsing small item ? Or confirm dialog boxes?

For the 2nd point, I'll have to add date support, which could be pretty fast, but a bit longer if I want to add some functions like the one you said. Could you develop a bit what you have in mind for your JSON (is it a response JSON or an request one? What's epochdate ?)

Thx anyway for your ideas ;)

smartmeter commented 8 years ago
  1. epoch dates are unix formatted dates - easy to use timeline plugin prefer them for some reason, I think because they look like ints and no funny formats. http://stackoverflow.com/questions/18546033/date-to-epoch-and-vice-versa-javascript
  2. For the horizontal redraw, what do you mean with "collapsing dialog boxes"? the info box, that can bubble up, or a div that updates on click the box, or showing all the boxes as visible for the specific event. http://codepen.io/joujiahe/pen/IDxpH
mickaelr commented 8 years ago

Sorry for the delay, I'm doing a small "roadmap" of next devs. I think I'll start with the horizontal mode and then the date support (didn't knew the "epoch" name, but its the the format I'm using for that kind of stuff!)

smartmeter commented 8 years ago

thanks

mickaelr commented 8 years ago

Hello,

I had some time to work on horizontal mode these days (no summary, neither toggle mode method yet). So if you have some time to give me feedbacks on that, it'd be awesome =)

smartmeter commented 8 years ago

ok will test it out

smartmeter commented 8 years ago

Hi, works well, :100:

thanks

mickaelr commented 8 years ago

Thanks !

smartmeter commented 8 years ago

I was referencing relative spacing, for e.g. based on how far the events are distributed should -- relatively correlate on the timeline with spacing between them