Solved

prevent mouse wheel scroll on iframes and overflow divs

Posted on 2007-11-28
4
933 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

829 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