AshesOfOwls / jquery.shapeshift

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

Drag selector #20

Closed scux closed 11 years ago

scux commented 11 years ago

Hi,

very good plugin that i'm trying to use. I was wondering if it's possible to specify the drag selector on the options ?

for example :

<div id="boxes">
     <div class="box">
          <div>content 1</div>
          <div class="handle">handle me</div>
     </div>
     <div class="box">
          <div>content 2</div>
          <div class="handle">handle me</div>
     </div>
</div>
$('#boxes').shapeshift({
     dragHandler: '.handle'
});
AshesOfOwls commented 11 years ago

Definitely, I'm currently in the middle of a total rewrite of the code and I should be able to get this in. I can't specify a timeframe on this because each time I do I tend to miss it, heh. Shouldn't be too long though.

AshesOfOwls commented 11 years ago

I am trying to release version 2.0 tonight. I will see if I can get this implemented before its release.

AshesOfOwls commented 11 years ago

This has been added to 2.0 although it will still center the object after the handle has been clicked. It may take me a while to get that sorted out. Closing this thread, you can follow the progress of 2.0 in the Multiwidth issue.