jquery - Set SVG as mouse pointer image -


i having svg image .i neet set svg image mouse pointer using javascript.

i can able set image mouse pointer using following code:

  $("div").mouseover(function(){             $(this).attr("style","cursor: url(red_bucket.png), pointer;");         }); 

is there possiblities set svg mouse pointer...?

this should work

    $("div").mouseover(function(){         $(this).attr("style","cursor: url('red_bucket.svg'), pointer;");     }); 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -