This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

Check whether page has scroll bar

vasudevan ajay
Greenhorn

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 ?
Requirement:
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.

Regards,
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