How to make CSS scroll panel for custom purposes?
I want to create scrolling panel for custom use - re-sizing some elements. So, it will be like this: the slider is moved, I pick its position and apply it to desired element. My best guess is using something like this:
<div style="width:300px !important;height:40px;overflow-x:scroll"></div>
However, in this approach
div must be filled with data, otherwise there's no slider on the panel. In addition to that, I'm not quite sure to to pick up data from such kind of panel using JS/JQuery.
Can you give me some advice on how to make a simple scrollable panel,so that I could pick up the slider position with JS/JQuery?
This question may seem obvious, but I'm newbie in such complex html/css elements
jQueryUI has its own Slider plugin. Perhaps it's what you're looking for.