Get new jQuery plugins just once a week
July 23, 2014
crosshair-js | jQuery plugin to lay a crosshair over a DOM element
crosshair-js is a jQuery plugin that let’s you lay a crosshair over a dom element (for whatever reason) and receive its relative position onclick.
It has got the following options :-
- legend : Show the current position of your mouse if hovering the element.
- marker : Marker HTML template.
- callback : This method will be triggered after you’ve clicked and the marker has been set.
- Attention : crosshair.coords contains coordinates according to the dom width and height.
Created by Marcel Eschmann
Sign up for our weekly newsletter.
10 Most Amazing Couple Gifts
A comprehensive guide to couple gift Ideas for Valentine’s Day, Weddings, Anniversaries for your spouse, friend, fiance, boyfriend / girlfriend.
Take me there !
Continue to jquer.in