Results 1 to 2 of 2

Thread: Script on how to use wheel mouse to scroll inside a scrolling window

  1. #1
    Join Date
    May 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Script on how to use wheel mouse to scroll inside a scrolling window

    I am trying to figure out how to be able to use the mouse wheel to scroll text in a scrolling window in addition to using the scroll bar. I have seen it done where you just click inside the window and you can use your wheel on your mouse to scroll but can't find script to make it work. Please help!!!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,070
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    Well, in most cases, the wheel sends similar commands to the up and down arrow keys. So, if your scroller is sensitive to those it will scroll with the wheel. One way is to use a scroller that utilizes an iframe, another is to have one that utilizes the 'overflow:scroll' css property. Many scrollers will respond to the mouse wheel, no special code needed. What scroller do you have that is not?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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