[solved] jQuery - will I need objects?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Vael Victus
Forum Newbie
Posts: 24
Joined: Wed Jun 03, 2009 9:29 am

[solved] jQuery - will I need objects?

Post by Vael Victus »

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!
Last edited by Vael Victus on Sun Apr 11, 2010 4:09 pm, edited 2 times in total.
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: jQuery - will I need objects?

Post by kaszu »

Sounds like you could use jQuery UI. See "Sortable: connect lists" demo.
Post Reply