Skip to main content
Home
Nate Lampton - quicksketch.org
  • Blog
  • Bio
  • Contact

patches

Drupal Drag and Drop (redux)

Posted Oct 23, 2007 | 03:11 am MDT

Drupal
jquery
drag and drop
patches

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

  • 7 comments
  • Read more about Drupal Drag and Drop (redux)