I got the requirement like, In a page there will be 4 panels which can be draggable only in (2*2) type , not 1*3 or 1*4 or 4*1. Here i dont know where i went wrong my panels are not able to moving one above another. and if i drag also it must be dragged only in (2*2) order,
http://jsfiddle.net/Navya/zexLM/
Can any one please correct my things hear. I would be very thank full if i get this output
Here is an example of what I think you are trying to achieve:
Working Example
It uses the jQuery UI sortable method to allow dragging of list items into position