I am using JQuery mousewheel downloaded from https://github.com/brandonaaron/jquery-mousewheel/downloads to obtain mousewheel information. At the same, I want to obtain the position of the mouse when the wheel was rolled. How can I achieve this ?
My current function is as below:
$(function() {
$('#maindiv').mousewheel(function(event, delta, deltaX, deltaY) {
// somehow obtain mouse position
// Use delta and mouse position for a purpose
});
});