I have an SVG which contains, among other things, a <circle>
element.
I can manipulate it via Javascript, changing CSS properties as visibility
, but I can not get its position on the screen.
My idea is that when the mouse passes over a certain <div>
, another <div>
is displayed based on the <circle>
position.
I tried to use offsetTop
, but it did not work.