CSS отключает события мыши
pointer-events: none;
Drab Deer
pointer-events: none;
cursor: pointer;
/* Mouse image is a hand */
pointer-events: auto;
pointer-events: none;
pointer-events: visiblePainted; /* SVG only */
pointer-events: visibleFill; /* SVG only */
pointer-events: visibleStroke; /* SVG only */
pointer-events: visible; /* SVG only */
pointer-events: painted; /* SVG only */
pointer-events: fill; /* SVG only */
pointer-events: stroke; /* SVG only */
pointer-events: all; /* SVG only */
/* Global */
pointer-events: inherit;
pointer-events: initial;
pointer-events: unset;
document.getElementById("id").style.pointerEvents = "none";
/* Keyword values */
pointer-events: auto; /* HTML Element */
pointer-events: none; /* HTML Element */
pointer-events: fill; /* only the fill color of the SVG */
pointer-events: stroke; /* only the stroke color of the SVG */
pointer-events: all; /* all stork, fill etc.. of the SVG */
pointer-events: visiblePainted; /* SVG only */
pointer-events: visibleFill; /* SVG only */
pointer-events: visibleStroke; /* SVG only */
pointer-events: visible; /* SVG only */
pointer-events: painted; /* SVG only */
/* Global values */
pointer-events: inherit;
pointer-events: initial;
pointer-events: revert;
pointer-events: unset;
body {
/*(Cursor image must be 32*32 pixles)*/
cursor: url(CURSOR_URL), auto;
}