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

Comments

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

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

nice tool, easy handling, thanks fpor sharing. I think you should not change the drag handle to up and down arrows. It´s easier the other way.

Add new comment

Commenting on this Article is closed.