Solved

prevent mouse wheel scroll on iframes and overflow divs

Posted on 2007-11-28
4
925 Views
Last Modified: 2011-04-14
hi,

Is there a way to prevent mouse wheel scroll on iframes and overflow divs?

I find it a nuisance when i am scrolling down a page only to "get stuck" scrolling in a div or iframe when i want to keep scrolling down the page.

The type of solution i am looking for is one i can "program" into the web page i am coding. Solutions using html, css, javascript welcome. And that it will work for visitors visiting my created page.

Also, the page is an Intranet page that only requires Internet Explorer support. So a solution only supporting IE is acceptable.

thanks!
0
Comment
Question by:Valimai
4 Comments
 
LVL 17

Accepted Solution

by:
gops1 earned 500 total points
ID: 20370921
You can use scrollbars as used here:
http://www.dyn-web.com/dhtml/scroll/
0
 
LVL 1

Author Comment

by:Valimai
ID: 20371272
@gops1
that is quite good and i think i can use them in some areas.

I do have another more complex implentation where i would be looking for a more basic solution if one exists before i try that.

Thank you for the suggestion and will certainly split some points for that.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20558529
Forced accept.

Computer101
EE Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now