[solved] jQuery - will I need objects?
Posted: Sun Apr 11, 2010 2:23 am
Before I begin, just want to say I have looked into the prospect of objects. My question is for advice on the best way to do this.
Basically, I run a game, and I want to have the people drag and drop images (or the divs containing them) onto empty slots, and that will be the 'order' of their skills. Imagine stacking a shelf with various ingredients in jars, it's like that.
I can so easily just make it so I say "click the skill you want in first place", but I'd rather have it so they can just drag the image and it'll put the dragged item's data onto the div in a form, and then they submit and send.
I want to know if I should use any specialized jQuery libraries, or even if there's incredibly simple functions buried in the daunting documentation of jQuery. What would you suggest?
edit: Thank you so much!
Basically, I run a game, and I want to have the people drag and drop images (or the divs containing them) onto empty slots, and that will be the 'order' of their skills. Imagine stacking a shelf with various ingredients in jars, it's like that.
I can so easily just make it so I say "click the skill you want in first place", but I'd rather have it so they can just drag the image and it'll put the dragged item's data onto the div in a form, and then they submit and send.
I want to know if I should use any specialized jQuery libraries, or even if there's incredibly simple functions buried in the daunting documentation of jQuery. What would you suggest?
edit: Thank you so much!