Hi guys…
I have this js code that is triggered by a button click, which displays a splash window and hides the scrollbars while the server processes the data (it prevents the users from clicking other buttons thus creating other server errors). I noticed that in IE7 the scrollbars do not hide. I found out that in IE7 this: document.body.style.overflow = “hidden”; doesn’t work. I also found out that in IE7 the overflow-x:hidden or overflow-y:hidden must be applied to the html element, not the body element.
html { overflow:auto; overflow-x:hidden; }
This is probably a very stupid question but… how that done dynamically with JS? I haven’t been able to find out the solution. Any help is really appreciate it.