开发者

Image sorting problem

开发者 https://www.devze.com 2023-02-11 11:59 出处:网络
I am trying to sort some images using jQuery. I refered to http://jqueryui.c开发者_StackOverflow中文版om/demos/sortable/#display-grid and it\'s working. But the problem is that when I try to sort the

I am trying to sort some images using jQuery. I refered to http://jqueryui.c开发者_StackOverflow中文版om/demos/sortable/#display-grid and it's working. But the problem is that when I try to sort the images by dragging them from left to right, my form gets moved to left (but when I do the opposite it works perfectly). I have tried setting up margins and all but it's not working. How can I get the behavior I want?


The problem is solved. I just changed the size of the image in the container and it does not produce the distortion any more. Thanks for the comments guys.

0

精彩评论

暂无评论...
验证码 换一张
取 消