Create scrolling text with sppb5
Best regards.
I want to make a module in tabs and I plan to add many things in each tab, but when I do, it is too long to scroll down.
I would like to know if it is possible to implement some kind of Scroll within the tab content and make the content go down as the scroll moves down?
I found these codes and they certainly work in custom modules, however, it is too tedious to implement:
Vertical scroll text blocks
https://datoweb.com/post/461-how-to-create-container-div-with-vertical-scroll
<style type="text/css">
#global {
height: 300px;
width: 100%;
background: #f1f1f1;
overflow-y: scroll;
}
#messages {
height: auto;
}
.text {
padding:4px;
background:#fff;
}
</style>
<div id="global">
<div id="mensajes">
<div class="text">TEXT BLOCK 1</div>
<div class="text">TEXT BLOCK 2</div>
<div class="text">TEXT BLOCK 3</div>
<div class="text">TEXT BLOCK 4</div>
</div>
</div>
Is it possible to do this same thing but in each tab?
Thank you for your kind collaboration.