[thelist] new window scroll bars
MRC
webmaster at equilon-mrc.com
Mon Nov 26 11:41:54 CST 2001
Tommy,
> Do any of the JS gurus out there happen to know if there's a way to
> spawn a new window that has a vertical scroll bar but NOT a
> horizontal one?
You can selectively create horizontal and/or vertical scrollbars in IE
by using proprietary CSS within the new document window:
body {
overflow-x: hidden ;
overflow-y: scroll ;
}
Or through script:
document.body.style.overflowX = "hidden" ;
document.body.style.overflowY = "scroll" ;
James Aylard
More information about the thelist
mailing list