What is a lightweight script/jQuery extension that implements a draggable divider?

ε祈祈猫儿з 提交于 2020-01-23 02:01:05

问题


I need a JavaScript script or a jQuery plugin that lets me resize two divs accordingly by dragging a horizontal "divider" (well, it divides horizontal, but the divider line is vertical). Better leave a picture here:

 _______________________
|           |           |
|           |           |
|           |           |
|       <-- | -->       |
|           |           |
|           |           |
|           |           |
|___________|___________|

回答1:


I have used jQuery Splitter Plugin. Works quite well.



来源:https://stackoverflow.com/questions/10810850/what-is-a-lightweight-script-jquery-extension-that-implements-a-draggable-divide

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!