Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery Drag & Reorder [closed]

I have an image upload script that batch uploads loads of images.

I want a page where the admin user can go in and re-order these images easily. Is there a sort of click and drag and re-order JQuery plugin? I then want to read the order and assign a weight value to each.

like image 771
Dan Hanly Avatar asked Mar 22 '11 16:03

Dan Hanly


1 Answers

This sounds like a job for the jQuery UI sortable plugin.

If you give each draggable image a unique ID you can trivially read the list of images back to find out their current order.

like image 156
Alnitak Avatar answered Oct 19 '22 11:10

Alnitak