Download & Extend

Reduce the empty space between the last scrolling item and the first item

Project:Taxonomy Ticker
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Currently there is large empty space between the last scrolling item (title or teaser ) and the first item display transition. How is it possible to reduce this relatively larger space so that the scrolling transition looks much more smooth?

This large space happen even when the scrolling speed is set to Fast, and it incurs significant time delay for the first item to be displayed again.

Comments

#1

Joining the request...

#2

I think I found the cause:

In taxonomy_ticker.css (in the taxonomy_ticker module folder) in style #firstscrollerContentItem, reduce the height from 75px to the size of the empty space you wish to have between each cycle of the ticker.

#3

I tried and does not work with changing height in #firstscrollerContentItem.

#4

The ticker works by "scrolling" a <div> down and then repeating the operation over and over. The first item scrolls up/appears at the bottom because there is white space (equal to the height of the ticker) at the top. This is also necessary to prevent the display from just jumping back to the first item when we hit the end of the content.

I tried to find other solutions for this, but couldn't come up with anything better... :( Hopefully somebody else will come up with something.

(A wild idea here: ) maybe it would be possible to write some javascript that would (dynamically) remove from the "scrolling pane" items that where just displayed and re-insert them at the end. I'm no javascript guru so ymmv. In any case, the cpu-usage of the ticker is already a problem, so to make it do even more stuff would most probably just make it worse.

A patch to fix any of this would obviously be received with great happiness. :-)

#5

Status:active» closed (won't fix)
nobody click here