This version is old school.
Please find jQuery plugins on npm.
jQuery.PointAt
by Klaus Karkia
A simple jQuery plugin for pointing at things. Basically, you tell PointAt which element you would like another element to point at, and the plugin automatically calculates the correct angle and rotates the pointer element accordingly, using your choice of rotation plugin. Check out the demos and our rotation plugin suggestions on our homepage.