Help with some drag and drop

Discussion in 'JavaScript' started by Jaret, Sep 27, 2010.

  1. #1
    Hello! I am trying to make a game-like inventory. I found a little help on the web but it didn't get me very far.
    Here's a demo of what I am doing:
    Demo: http://street-kings-online.com/temp/demo.php
    Source:http://street-kings-online.com/temp/dndinv.zip

    Did you take a look?
    My first problem is that items don't swap places, but the old item always goes back to the #inventory div.

    I read a few posts about swapping but I can't get it to work.
    When swapping works, I'll remove the big #inventory div and put lots of small ones.

    why java isn't as easy as php :)
     
    Jaret, Sep 27, 2010 IP