Drupal Drag and Drop (redux)

A follow-up to yesterday's video on Drag and Drop tables. The new version combines the new dragtable.js with a special blocks.js file. The dragtable.js (320 lines) handles reordering of weights and matching regions with their siblings, as well as the actual drag and drop. The new blocks.js (50 lines) handles the specialty case 'regions' dropdown, so that changing this field moves the row into the new region.

See the patch for Drupal 6: http://drupal.org/node/181066

AttachmentSize
FirefoxScreenSnapz002.mov5.44 MB
Simply remarkable, everyone who helps out with this development deserves an award. :) p.s. The comment preview is messed up in Firefox 3.

wowzo, great job, this a major major usability improvement over the weight system.

Suggestion: change the drag handle image to up and down arrows, and remove the left and right arrows.

this page crashes firefox3 beta3pre :(

wowzo, great job, this a major major usability improvement over the weight system

Wow... fantastic job, man. The video demo is very easy to follow too.

Thanks.

Thanks for the great contribution to Drupal.

Excellent feature for Drupal. Nice video demo too.

Good stuff. This certainly enhances Drupal's userbility.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <div> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.