Closed GoogleCodeExporter closed 8 years ago
hi,
you might want to look into providing a 'start' callback in the dragOptions to
the endpoint. in there you can create a div and set it as a target etc.
Original comment by simon.po...@gmail.com
on 4 Jan 2012 at 8:39
Thanks for your reply ... i tried but am not able to create new element... Am
able to drag from any endpoint but how to create new source point. If i drag
endpoint i have create new div dynamically and it should connect with dragged
one... Am really struct in it... Help Me how to do it ...
I did this..
http://jsfiddle.net/Dhinakar/zYqwQ/39/
Original comment by dhinadeb...@gmail.com
on 6 Jan 2012 at 4:31
do you mean something like this?
http://jsfiddle.net/zYqwQ/49/
start dragging from W1 and you'll see a new div with a red border appear, with
'Foo' in it. It has an endpoint added tp it, which will initially appear at
the TopCenter of the element. you can drag your connection on to it.
Original comment by simon.po...@gmail.com
on 6 Jan 2012 at 11:22
Thanks once again ... same thing i need and not only create from w1. I have to
create from each and every node... w2 connect newly create w6 and w6 connect
newly create w9... something like that.. and i'll work these thing and i have
problem again i'll tell u... Once again thank youuuuuuuuuu.........
Original comment by dhinadeb...@gmail.com
on 7 Jan 2012 at 2:00
no problem. it's always interesting to see what people do with jsPlumb. i'm
gonna close this issue so it doesn't appear in my list but feel free to keep
commenting if you need to.
Original comment by simon.po...@gmail.com
on 7 Jan 2012 at 3:27
Original issue reported on code.google.com by
dhinadeb...@gmail.com
on 4 Jan 2012 at 4:38