A jquery plug-in every day-scroll bar replacement 2
Scroll bar replacement 2
It’s too late after I’ve dealt with my own affairs today, so let’s talk about your thoughts based on yesterday’s progress and explain this thing.
Nutritious explanation
- Didn’t you already do the dragging of the progress bar yesterday, which means to make a replacement effect?
- So probably the use environment can look at my previous portal , and what I mean is
::-webkit-scrollbar
to hide the height and width of the container's scroll bar, and then, without affecting the scrolling, the user defines a container outside, and then I find and calculate the length and moving distance of the bar of the scroll bar according to the incoming id - The action is to bind the scroll events of the two together, and then if the callback is needed, this is the end.
- But I still want to do another thing later, which is to put the two doms on top, and then I draw all the thumbnails of the second dom in the first dom, and then mask it, showing that the current interface can be seen with a transparent frame The view part of the interface, and the visual area of the interface changes along with it when dragging, but let’s do this later
- So sleepy, sleepy~