Drag/Drop Collision Detection

When dragging an SVG element, show when its edge collides with its neighbors.
Scenerio:
Each element is draggable. When moving the element, if it collides with another, its collided element(s) will become opaque.

This is text

SVG Source:
Javascript:

OK in:IE11/CH41/FF35