Solved

prevent mouse wheel scroll on iframes and overflow divs

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaScript export function not working in IE 15 31
Centering Vertically 3 26
CSS z-index issue 3 15
Recordset containing single quotes 8 17
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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 code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

947 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

22 Experts available now in Live!

Get 1:1 Help Now