[wp-hackers] Drag and drop panels in plugin's page

Andy Charrington-Wilden andycharrington at gmail.com
Wed May 18 13:01:19 UTC 2011

Checkout the classes on the widgets page. Once you enque the same scripts you can have it act the same way as the widgets page. I'm not at my computer right now but essentially you're looking for 3 things in the widgets page. 
1. The class that defines an area where something can be dragged. 
2. The class that defines something as draggable
3. The correct scripts to enque. 

I would really like to know how you get on. :-)

Sent from my iPhone

On 18 May 2011, at 13:46, Dino Termini <dino at duechiacchiere.it> wrote:

> Hi all,
> one of the plugins I've developed has a layout made of small panels, something similar to Wordpress Dashboard. I would like to implement the same drag and drop feature, to move those panels around and store their position in the database. I've already figured out the 'store in the DB' part, but I can't seem to be able to leverage the existing JQuery libraries to enable this functionality. Any ideas on how to implement this?
> Thanks,
> Dino.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list