'Insert scroll button horizontal using jQuery
I am trying to replicate this example into my own coding.
The List tabs are generated dynamically using JS and each have their table (also generated using JS). Unfortunately, there is a problem where the button won't show even after resizing the screen. I couldn't find anything that I missed out though.
And another problem is that when reload, sometimes there is an error at line $('.nav-item').last().offset().left eventhough I already load the reAdjust() function in $( document ).ready(function().
Solution 1:[1]
I found the issue where there are other classes with the same name list which is why the button won't show up properly.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | kaixas K |
