Thanks Mike. Unfortunately it doesn't quite seem to work. By simply using document.body, it appears to just have no effect on the document either way. Basically what I wanted to do was dynamically hide the document scrollbars via scripting, then re-enable it again using the value "auto". So something like:
Code:
standardbody.style.overflow="hidden"
document.body.style.overflow="auto"
which doesn't work.
Or:
Code:
document.body.style.overflow="hidden"
document.body.style.overflow="auto"
which doesn't work either. The only combo that does is:
Code:
standardbody.style.overflow="hidden"
standardbody.style.overflow="auto"
Except with the horizontal scrollbar issue I mentioned. Lol.
Bookmarks