jquery disable mouse scroll wheel function when the mouse cursor is inside a div?
How to use jquery to disable mouse scroll wheel function that scrolling the long page when the mouse is pointing inside a div?
I need to disable it because I have another mouse scroll wheel function inside the div, if the page is too long, when i scroll my mouse wheel, the div and the page both will be scrolled. I don't want both of them be scrolled, i want inside div be scrolled only.
problem is solved!
problem is solved by myself, i just changed the css of body and div and it works!! Happy. LOL.
So what precisely did you change ?
Originally Posted by zac1987
i did put width for body, that's why it scroll the body. So I just delete the width of body, and it won't scroll the body anymore.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread