AshesOfOwls / jquery.shapeshift

A dynamic grid system with drag and drop functionality.
http://ashesofowls.github.com/jquery.shapeshift/
MIT License
1.67k stars 311 forks source link

Right-to left, bottom-up layouts #77

Open cs-m opened 10 years ago

cs-m commented 10 years ago

Hi,

I'd love to use this plugin for a project (it's really the best one around), but I need to lay out the elements starting from the bottom right corner. I see that it's not supported out-of-the-box, but is there any way to have that functionality?

I know that packery supports this, but I need the ability to drag elements from one container to another.

Any pointers would be much appreciated. I'll see if I can understand the code enough to modify it, but I'm afraid that'll take some time... :)

justinkneff commented 10 years ago

Have you tried align right? Look at the documentation and note the "align" Align / justify the grid either "left", "center", "right". If you need it at a particular position on the interface that would just be placement of the grid itself. One thing I did at first, before css placement, was I set the colWidth to a higher value and the ss-children width larger, and that offset the items as well.