I need to perform an action if someone uses the wheel when the mouse is positioned over a Raphael element.
I tried several methods but none of it worked. Can you point me in the right direction with an example?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See live demo at http://jsfiddle.net/qiao/6JJrz/6/ (try mouse wheel up and down on the circle)
I used jQuery.mousewheel plugin taken from https://github.com/brandonaaron/jquery-mousewheel
EDITED: sorry, the original link was outdated, I fixed it now.