I am trying to make the scroll follow the mouse height, I know it seems easy, but I do not manage to do it correctly,
I was trying something like this, this function is fired always that the mouse moves.
function moveScroll ($event){
var height = $event.event.clientY;
window.scrollTo(0, height);
}
This seems not working, specially when I am in a webpage with an iframe inside. The other option I thought is forcing the mouse wheel click event, which would be awesome, but I can't manage to do it either...
I am running out of ideas, so if you could give me a helping hand, it'd be awesome.