JavaScript Mini-FAQ Sooner, or later, as we start learning and using JavaScript, we will all have questions we want answered. One author, Danny Goodman, has compiled a list of typical questions people ask when starting out with JavaScript.
| Name: |
Clinton Greer |
| Subject: |
Re: How to detect Window Inner width? |
| Date: |
08-11-1999 03:53AM |
You can use the
document.body.offsetwidth property to determine the width of the browser window. It also includes the width of the scrollbar so you may need to adjust it slightly.
|
Other posts in this thread:
Reply to this post:
|
 |
Visit the JavaScript Forum!
New On DevShed:
Hot Forum Topics:
|