Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to make drag-and-drop docking panels?

How to make drag-and-drop docking panels?

Problem

I would like to have dockable Panels using jquery that behave much like the ones in Visual Studio. Mainly, I just want to be able to drag and drop panels to any side of the screen. Tabs, floating windows, and auto-hide panels are not necessary. When two or more panels are dropped on to the same side, they should share the space on that side of the screen. The user should be able to resize the panels.

Is there a jQuery and/or jQuery UI plugin that can do this? Or maybe a tutorial?

Problem courtesy of: Ruby

Solution

You can use Jquery UI to accomplish all of this.

http://jqueryui.com/demos/draggable/

http://jqueryui.com/demos/droppable/

Below is an example of a drag and drop page I made.

Solution courtesy of: xCRKx TyPHooN

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

How to make drag-and-drop docking panels?

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×