html - javascript cursor image position -


i change cursor background image file , cursor in top of image

$(".maindiv").attr("style", "cursor: url(./images/myimage.png) ,auto"); 

how set cursor in bottom of image ?

use .css() instead:

$(".maindiv").css({cursor: 'url(./images/myimage.png) ,auto'}); 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -