Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2005
    Location
    Toronto
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Stop Scrolling behavior to the onmousewheel event

    hi all,

    I am building a website using jsp.
    I create a form which contains 3 tables. Everything work fine except the only problem is that when i use the mouse wheel over the table area, the table scroll/move with the mousewheel instead of the web page.

    Is there a way to overcome this problem such that when I use the mousewheel over the table the web page scroll/move ONLY instead of the table or unless I click within the table area or move the vertical scrollBar then it makes sense for the table to scroll/move with the mousewheel.

    I tried <Form onMouseWheel="return false"> but it doesn't work.

    Thank you very much for your help.

    Sincerely,
    RT.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You've already posted this question Stop Scrolling behavior to the onmousewheel event
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

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