PROBLEM RESOLVED SO I have this issue that I cannot for the life figure out:
I made a dropdown to be shown on the whole page no matter what size and this seems to work:
http://jsfiddle.net/Riskbreaker/y9wZz/
The problem is if you force your mouse to the right it scrolls unwanted scrolling and obviously this is the root of all evil:
.dd {
margin: 0 -1000em;
padding: 0 1000em;
position: absolute;
top: 100%;
visibility: hidden;
}
I tried this:
body {overflow-x: hidden;}
(Note I tried HTML overflow-x too).....of course it removes the scrollbar(horizontal) but thats not the issue....FF listens and does not scroll at all if you tried to force it BUT, the rest...Chrome/IE/Safari do scroll....Is there a solution to make this work?
This person had something similar but no answer here: overflow-x:hidden still can scroll
Lastly I tried this:
$(element).scroll(function () {
this.scrollLeft = 0;
});
but didnt do anything.
SOLUTION
I just needed to add this on html:
html {overflow: hidden; overflow-y: auto;}
...thanks all