The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript IE7 overflow property

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #32481

    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: = “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.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.