admin管理员组文章数量:1328395
how can I draw line between two div's with jquery library or simple javascript?
I have various div's boxes on page with there id's
id1 #id2 #id3 #id4 and #id5 and so on...
what I wants if I click on #div1 and drag it to #div2 It will make an arrow line between #div1 and #div2 pointing to 2, And somehow save this connection details. Also i can attach #div1 to other div's and it save that connection details as well.
(I am using jquery UI if that matters).
Thanks for any help.
how can I draw line between two div's with jquery library or simple javascript?
I have various div's boxes on page with there id's
id1 #id2 #id3 #id4 and #id5 and so on...
what I wants if I click on #div1 and drag it to #div2 It will make an arrow line between #div1 and #div2 pointing to 2, And somehow save this connection details. Also i can attach #div1 to other div's and it save that connection details as well.
(I am using jquery UI if that matters).
Thanks for any help.
Share Improve this question edited Jun 20, 2020 at 9:12 CommunityBot 11 silver badge asked Oct 9, 2011 at 22:56 user969068user969068 2,9436 gold badges35 silver badges69 bronze badges1 Answer
Reset to default 6i found https://github./jsplumb/jsplumb to solve this issue..
本文标签: javascriptdraw line with jquery between two divsStack Overflow
版权声明:本文标题:javascript - draw line with jquery between two divs - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742224901a2436131.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论