I've a structure like this:
<div id="cont">
<div class="entry">
<div class="t_time">16:40</div>
<div class="t_label">Some text</div>
</div>
<div class="entry">
<div class="t_time">16:40</div>
<div class="t_label">Some text</div>
</div>
<div class="entry">
<div class="t_time">16:40</div>
<div class="t_label">Some text</div>
</div>
<div class="entry">
<div class="t_time">16:40</div>
<div class="t_label">Some text</div>
</div>
... may be more "entry" divs
</div>
I want to scroll all of the entry
classes up/down like a marquee. Problem is, all of the jQuery plugins that I've found don't work properly, they slide the whole cont
div, or slide the entry
classes but weirdly and undesireable.
Do you guys have any good plugin? or some code you have already created for that?
Thanks in advance!
EDIT
The container #cont
should remain where it started and NOT move, only the entry
div's that are in it. Rob has suggested using another div to wrap them, and then move it accordingly. The thing is, I want to trigger something like a marquee only when the entry divs are overflowing their parent's height(isn't the problem here), and I want it to start at the beginning of the div(which means, won't reveal the WHOLE div again, only the overflowing entry
divs) and then only reveal the last entry div's that are hidden cause they are overflowing. and then the all animation will repeat itself(from this point, I would like to slide the whole div's content endlessly). Know any plugin that does that?