0
Let’s get down to the problem:
I have the following code:
<span id="título">teste1</span>
<div id="div_scroll">
<div id="dv1">teste1</div>
<div id="dv2">teste2</div>
<div id="dv3">teste3</div>
<div id="dv4">teste4</div>
...
</div>
Suppose you have a lot of testing Ivs in there and the div id "div_scroll" and the div id 'dv1' is the top. I would like when to scroll down or rotate the div id "div_scroll" scroll and when each div id "dv?" get to the top, throw the text into it for the spam id title. I searched and found some plugins that do this. But I believe you have some simpler way to do that.
Either you use a plugin or you write it. If you already have a small plugin for this, faster use it than reinvent the wheel.
– Giovane
If you do not know exactly how to do, best use the plugin that is already ready
– Ricardo Pontual
The plugin is great. I imagine if you do this work with less code. If you do not have how to do this, yes, I will use the plugin... Thank you
– lfabra
@lfabra You are looking for a solution with pure Javascript or using jQuery or similar.
– Maujor
It’s indifferent to me. But I’m mounting a jquery plugin, and if you don’t need another plugin for this, it will be perfect.
– lfabra
@Ifabra - A solution with pure Javascript at: https://jsfiddle.net/maujor/p74avfwx/
– Maujor