IFrame Hide Scroll Bars But Still Be Able To Scroll With Mouse Wheel
What I am trying to do is make an iPhone simulator and just have a web page display in an iFrame. The scrollbars are taking up too much room so I want to hide them but still have
Solution 1:
This should give you what you need to detect the mouse wheel movement: http://www.adomas.org/javascript-mouse-wheel/
And this should give you what you need to control the scrolling of the page: http://www.mediacollege.com/internet/javascript/page/scroll.html
Detect mouse wheel, determine the direction, scroll accordingly.
Post a Comment for "IFrame Hide Scroll Bars But Still Be Able To Scroll With Mouse Wheel"