remove space after scroll cycle
zaphod280380 - June 11, 2007 - 14:37
| Project: | Taxonomy Ticker |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | mathieu |
| Status: | active |
Jump to:
Description
Maybe i' totally stupid, but i can't find a (simply) solution to remove blank space interval between scrolling cycles. Any suggestion?
Thanks in advance

#1
iirc (it's been a while since I customized the ticker...), you have to modify the ".scrollerContentItem" class in taxonomy_ticker.css. You might want to modify other classes as well... :)
#2
mhhh sorry but i don't understand exactly what do you mean... i already customized the classes of this module but i can't find a way to remove the blank space after a scroll cycles finish. Wich problerty of .scrollerContentItem have i to modify? .... i need a continuos cycle without blank pause... see my implementation in action http://deltawt.it/studiopironio
thanks in advance
#3
So i need more info... :)
#4
I tried almost everything with css, taxonomy_ticker.module file, and even with javascript files (but i'm not a javascript coder so...). Nothing ... damn blank space!!!!
#5
I think I understand ... and unfortunately, I don't think there's any good answer to that. IIRC, you can remove the blank by modifying the height of "firstscrollerContentItem" css ID.. but that won't give you a "continuous" scroller : it will just make the first item re-appear sooner and already at the top of the window.
I guess it all comes down to the limitations of the current code : the scroller is just a "window" on a div, that moves up. To put it another way, the blank you have at the end is the same one you get at the start.
It's a bit too early (coffee is not ready yet...) to explain it all properly, but unless you add some javascript magic, I don't thnk you can get a continuous scrolling. :-(
#6
@mathieu: you're right. This could be fixed if the scrollable content is duplicated so the start of the duplicate fills the blank space at the end of the original content. Of course the scroll height should be as high as the original content though.
#7
....
mhh how can i obtain this duplicated content :)?
#8
Forgot to mention: this requires some module modifications..
#9
I wish there would be a simple solution to that.. The main problem is that you can't easily find out how much (in height) of the "top content" you need to duplicate. Maybe by modifying the dom, moving stuff from the "top" to the "bottom" of the div, dynamically? If at all possible, I fear this would make the ticker even more cpu-intensive.
If someone comes up with a patch... :)