dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: jquery disable mouse scroll wheel function when the mouse cursor is inside a div?

  1. #1
    Join Date
    Mar 2011
    Posts
    3

    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.

  2. #2
    Join Date
    Mar 2011
    Posts
    3

    problem is solved!

    problem is solved by myself, i just changed the css of body and div and it works!! Happy. LOL.

  3. #3
    Join Date
    Mar 2011
    Posts
    1
    Quote Originally Posted by zac1987 View Post
    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 ?

    Thx

  4. #4
    Join Date
    Mar 2011
    Posts
    3
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles