Solved

prevent mouse wheel scroll on iframes and overflow divs

Posted on 2007-11-28
4
938 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

695 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