Results 1 to 5 of 5

Thread: Alternative drag-n-drop script.

  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Alternative drag-n-drop script.

    I've tried to search the web for a solution, but without any luck :-(

    I have an array (in order) with div's and there coordinates (to place them on my page).

    Is there any way to take one of the div's, drag it onto one of the other div's, release it and then they switch place.

    So it should not place itself before or after the div it is dragged over (as every drag-n-drop script does that I've found) but switch place with it.

  2. #2
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've used this drag-n-drop script a lot and tried to recode it to do as I wish. But I haven't come nearby any solution.
    http://www.webreference.com/programm...column2/3.html

    Don't know if the link above will be any help, but I just wanted to show you what I've tried to use before...

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

  4. #4
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I actually have seen that one, but it doesn't have features such as dropTargets and so on. So it really doesn't satisfy my problem.

    It only provides features to drag items (and copy)... Almost without any respect for other elements on the page.

    But thanks for you reply! Hope to see other solutions that might solve my problem.

  5. #5
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You could start with this and perhaps modify it:
    http://www.matts411.com/webdev/creat..._element_panes

    It's not a lot of code

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •