<script src="https://unpkg.com/cursor-traces@0.0.6/min.js"></script>
- put this in your html header part
- in your html body , use the the function
startCursorTraces()
<script>
window.onload = function(){
document.onmouseup=function(e){
if(e.target){
if(findALabel(e.target)){
writeLocation(e.pageX, e.pageY);
drawCursor(e.pageX, e.pageY);
}
}
};
drawList();
}
</script>