i am using the mousemove() function. I've noticed it changes the mouse cursor to 'move' icon.
Is there a way to replace this with a custom image? i have tried this but it doesn't work.
$("#main").mousemove(function(e) {
$('#main').css('cursor: url("/wp-content/uploads/2017/05/mouse-icon.png"), auto;');
$('.ms-slide-info ').css('left', e.pageX + 10).css('top', e.pageY +
5).css('display', 'block');
});
$("#main").mouseout(function() {
$('.ms-slide-info ').css('display', 'none');
});
Working page here: http://emgs.scrappydog.co.uk