Hi I'm having problem getting the drupal timeline module to resize it's height.
If I set 400 px height in the drupal settings and have a lot of events to popup in the timeline som of them will be hidden underneath the second band.
In the simile timeline page someone have created that the timeline is resized when getting a lot of events, have anyone done this in drupal timeline?

http://www.simile-widgets.org/timeline/examples/test_example2/test_examp...

Another solution to my problem would be to have a scrollbar in each band, I can only get the scrollbar showing for the whole timeline window (which would not help me in this case).
Can someone help me with this?

Best regards/
Dajjen

CommentFileSizeAuthor
#2 Picture 2.png14.42 KBdajjen

Comments

doublewhopper’s picture

If I set 400 px height in the drupal settings and have a lot of events to popup in the timeline som of them will be hidden underneath the second band.

Why dont you give the popups a higher z-index via CSS? From my understanding the popups just need a higher z-index then the second band so they will be displayed above them.

dajjen’s picture

StatusFileSize
new14.42 KB

Hi.
Thanx for the response doublewhopper

That wont do it for me, because i don't wont events popping up in front of the second band and eventually the list of events will increase further down then the whole timeline window.
The feature I'm after is that the timeline window would automatically re size like the time line in link i send previously.

I have attached a picture from my timeline where you will see events två,1,2,3, actually there are many more events that should be displayed två,1,2,3,4,5,6,7,8,9, but 4,5,6,7,8,9 are hidden because the timeline height (which are width) would not resize or give me an scroll bar for individual bands.

Best regards

xamanu’s picture

Title: Get timeline to resize in height » Dynamic scaling (height) of bands depending on the amount of events shown on the timeline
Version: 6.x-2.x-dev » master
Assigned: dajjen » Unassigned
Category: support » feature
Priority: Critical » Normal

This would be a new feature (changing category). Changing title for better understanding. Changing priority to "normal".

This is not going to be implemented within the 2.0 version I changed it to "HEAD". This means that it is going to be considered for future versions. Patches are always welcome!

xamanu’s picture

BTW, you could probably solve this by creating your proper theme and setting autoWidth = true there. This is not a nice solution so I'll leave this ticket open for better future improvements.

k3vin’s picture

+

Dimm’s picture

+1

lightsurge’s picture

+1