1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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