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

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -