- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Vertical, looping news ticker?
I can’t figure how to create a vertical, looping news ticker with Malsup’s cycle.
The first problem is that I need to show all (x) elements at a time, not just one. Removing the first and appending it at the bottom is fine but how do I make it keep on scrolling up, smoothly?
I’m a bit lost, would like some good directions.
Thanks!
Sorry, I should have expressed myself more clearly. What I need is ideas to how this could be solved. I think I should be able to code most of it myself once I get the idea.
Let’s take a simple unordered list as example. It needs to:
– Continuously scroll li-elements up
– When a li is scrolled out of view it should be moved to the bottom e.g. save .html() to a var and append it.
.. and nothing else really? Only difference from most sliders is that it needs to show several elements at a time – not just one.
Aye, it’s for jQuery. And it’s for an 42" monitor hanging on a wall :)
That demo shows most of what I’d like to do but can’t really use that technique, since it relies on absolute positioning and doesn’t scroll continuosly.
Thanks for the answer!