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

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

Files: 
Movie icon FirefoxScreenSnapz002.mov

Comments

Simply remarkable, everyone

Submitted by Anonymous (not verified) on Oct 23, 2007 | 06:16 am MDT

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

Submitted by travisC (not verified) on Nov 17, 2007 | 12:09 am MST

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

Suggestion: change the drag

Submitted by Daniel Phin (not verified) on Nov 22, 2007 | 10:13 am MST

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

this page crashes firefox3

Submitted by Guest (not verified) on Jan 03, 2008 | 11:11 am MST

this page crashes firefox3 beta3pre :(

wowzo, great job, this a

Submitted by cocuk oyun (not verified) on Mar 12, 2008 | 04:20 am MDT

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

Suggestion: change the drag

Submitted by Versicherung (not verified) on Oct 14, 2010 | 03:49 am MDT

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

nice tool, easy handling,

Submitted by reiseversicherung (not verified) on Oct 14, 2010 | 04:28 am MDT

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.