i want to add scrollbar to popup window after opening it. In FireFox there is a property 'window.scrollbars', but IE doesn't have such property, how can i add scrollbar in IE using javascript? Thanks.
Use css overflow:scroll; property.
To access it by JavaScript, use:
document.body.style.overflow = 'scroll';
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.