如何使可调整面板? [英] How to make Resizable Panels?
问题描述
我需要构建一个看起来像Mac Mail或Outlook收件箱的页面。其中一页具有顶部面板和底部面板,并且在其间具有可以用于重新调整尺寸的分隔器,以使面板更高或更短。
I need to build a page that looks like Mac Mail or an Outlook Inbox. where the one page has a top panel and a bottom panel, and there is a divider in between that you can use to re-size, to either make a panel higher or shorter.
什么是标准的jQuery / CSS技术来完成这个?我从来没有这样做过,所以我对你的建议或者你可能遇到的任何惊喜感兴趣。
What's the standard jQuery/CSS technique for accomplishing this? I've never done this before so I am interested in your suggestions or any surprises that you might have encountered before.
推荐答案
jQuery UI提供了这个插件。非常简单,它真的很好。我总是使用它。以下是包含说明的链接:
jQuery UI offers this as a plugin. Very simple and it really works well. I always use it. Here is the link with instructions:
http://docs.jquery。 com / UI /可调整大小
这篇关于如何使可调整面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!