Support System (depraced!) > JQuery Detect Mouse Click Event - Free

JQuery Detect Mouse Click Event - Free


Date: 11 August 2011 | Posted by: Src
JQuery Detect Mouse Click Event - Free


Demo:
http://adf.ly/286885/1644-detect-mouse-click


Source URL:
http://superdit.com/2011/04/23/jquery-detect-mouse-click-event/


With CSS capability, I create some html element that shows like a physical mouse, when the appropriate button clicked the color change as well. The result may something look like on the picture above.

The right click menu is turned off. To make the main element following the cursor position, mousemove event applied to document selector, with the change of the top and left css property. The background change when the mousedown event triggered and back to current condition when mouseup event triggered.
See full article