6

I would like to connect two draggable divs using jsPlumb. However when I use jsPlumb.Draggable function only the endpoints become draggable (not the div itself). Here is the fiddle of what I what I am trying.

http://jsfiddle.net/rishabhsagar/PsytV/36/

Rishabh Sagar
  • 1,744
  • 2
  • 17
  • 27

1 Answers1

7

This seem to be working:

div.operation {
   position: absolute;
}
cedric
  • 111
  • 4
  • something so simple...was this in the documentation? You would think that jsPlumb.draggable() would check style. – afreeland Dec 28 '12 at 15:59
  • it does weirdly not: i use it with jquery UI and it seems to use its "draggable" event. it is unclear to me, why it does not auto-set "position" as UI does. I guess there is a reason! – leosok Nov 03 '14 at 23:10
  • I have the same problem! However my div position is absolute? http://stackoverflow.com/questions/30767889/jsplumb-draggable-not-working – K-Dawg Jun 11 '15 at 04:58