treehouse : what would you like to learn today?
Web Design Web Development iOS Development

What's the best way to approach this...

  • Ok. I'm trying to create a web app that allows you to drag items from one box to another as per the example below.

    http://www.dhtmlgoodies.com/scripts/dra ... rop-2.html

    The box on the left is initially populated by items in a category called "uncategorized" and when I drag it onto the right hand side it will move into a category called "jobs". When I refresh the page these items will stay in the boxes (or categories) that I left them in, i.e. it has saved.

    Ideally this would be a WordPress integration, but I guess the first questions are what's the best way to do this and does anyone have any better (more upto date) examples than the one I posted above.

    I'm keeping my eye on Chris' web app tutorial this week but if anyone has any further help that would be great.

    Cheers,
    Steve
  • Have a look at the JQuery plugin draggable - http://jqueryui.com/demos/draggable/ - that should help.