Disabling browser scrollbar

Hi Is it possible to disable browser scroll bar through java script...? If yes how?

Help me if anybody knows it... Thanks in advance..

Answers


CSS

body
{
    overflow: hidden;
}

javascript

document.body.style.overflow = "hidden";

jQuery

$("body").css('overflow', 'hidden');

Need Your Help

Getting started with PopoverView and Display Item on Label in ipad

iphone objective-c xcode ipad

I am making a sample application where I am using UIPopoverView to display the list of items.

ResulSet - Cursor : rs.next() Taking lot of time

java oracle jdbc

I have a cursor returned from Database executes in 31ms (miliseconds) .

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.