Jquery - Scroll a DIV(overflow:auto;) with a DIV

前端 未结 1 1081
野趣味
野趣味 2021-01-26 07:16


how can i scroll a DIV (overflow:auto;) with a DIV?

HTML

1条回答
  •  猫巷女王i
    2021-01-26 07:28

    Check out the jScrollPane plugin.

    The first demo on the demo page is what you might be looking for. You could just remove the background attributes from the jspVerticalBar and jspTrack classes and you're on your way!

    0 讨论(0)
提交回复
热议问题