javascript - How to draw line with (x,y) position on svg file object -
i'm trying draw line (x,y) position. have circles on svg object,and line have verticaly aligned circle. under , upper line text. have this
. ____________
var position = $('#circle').position(); and have (x,y) position. ive tried make position
hve other x,y circle.
and how can x or y position number?
i have
d = document.getelementbyid('commentary'); $(d).offset({ top: 61, left: 786}); var position2 = $(d).offset(); console.log(position2); but console.log offset(0,0)
Comments
Post a Comment