wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Check whether page has scroll bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Check whether page has scroll bar" Watch "Check whether page has scroll bar" New topic

Check whether page has scroll bar

vasudevan ajay

Joined: Mar 15, 2007
Posts: 1
Dear all rangers,
Please can anyone of you tell me the Javascript code as to check whether the page has a scroll bar ?
The page uses a menu bar set on page load inside <body></body> tags. When a scroll bar appears the enitre table gets shifted to left BUT NOT THE menu bar leading to a space in between the table border and menu bar.

Please help me in this regard as I am already stuck in the project.

Ajay Vasudevan.
I agree. Here's the link: http://aspose.com/file-tools
subject: Check whether page has scroll bar
Similar Threads
scrollbar in tiles
Weired Behaviour in JSP Pages
How can I get rid of the horizontal scroll bar, when using 800x600
Printing with DIV tags
equivalent of frames in struts