views:

56

answers:

2

I just build a website that works good on any browser even ipad but in Oper ai noticed a weird thing:

the website is built with a div layer on top zindez:999, body is overflow:hidden, and you cant scroll, but underneath the div there is a long text that goes way underneath the viewport...

the strage thing is that even if any browser i wasable to keep this effect in Oepra if I use the mousewheel you can kepp scrolling...! ...argh..

do you any hack/solution for this?

+3  A: 

try catching the "DOMMouseScroll" event and stop the default event:

event.preventDefault(); // or return false
Tobias P.
yep, i tried that, in factis what i'm using to prevent the ipad/iphone to scroll..but Opera still does it...i think i'm gonna drop the idea to make it for opera..
camelCase
the iphone/ipad has another event, it's touchMove ;)
Tobias P.
A: 

Sounds like and OS or and app issue.

Babiker