davetayls / jquery.kinetic

Add kinetic scrolling functionality to a container using mouse or touch devices
http://davetayls.me/jquery.kinetic
MIT License
420 stars 86 forks source link

Change cursor to an img #76

Closed gabrielhsp closed 9 years ago

gabrielhsp commented 9 years ago

Hi, this is a great plugin, helps me a lot with my project.

I want to know if I can put an img or a class at the cursor option.

I try to put, but with no success. Can you give a direction?

davetayls commented 9 years ago

the cursor is just the css property. just like doing .mywrapperarea { cursor: move } so you'd just need to look in to how you use custom image cursors with CSS. http://css-tricks.com/almanac/properties/c/cursor/

If it doesn't work by setting the cursor property in JavaScript you might need to use !important in a CSS rule.