Jquery Ui Drag and drop with some ease or gravity -



Jquery Ui Drag and drop with some ease or gravity -

basically designer , not programmer. trying build application. can see basic code here @ jsfiddle http://jsfiddle.net/mailverma/wwftn/1/. thought is, user can sort 6 descriptive , 6 to the lowest degree descriptive words , drag , drop them in respective container. need help regarding enhancements in code.

1) issue in current code is, when reset, after that, yellowish rectangles not accepted in dotted slots. if place same yellowish rectangle in other slot accepted. don’t know reason. please help.

2) when user drags , throws yellowish rectangle towards greenish or bluish container, should go gravity force. when more half of yellowish rectangle comes within bluish or greenish container, should automatically snap available empty dotted slot. overlapping not expected here.

3) want alter class of yellowish rectangle holder in top (in code li) when yellowish rectangle dropped in bluish or greenish container. user can drag original position.

please help me in code. in advance.

you can utilize physics engine box2d http://box2d-js.sourceforge.net/ think can amazing things that

jquery drag-and-drop gravity

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -