We help IT Professionals succeed at work.

Disabling scrollbars in IE & FF

Last Modified: 2013-11-19
How do I disable scrollbars in IE6+ and FF2 through JavaScript?  This is in the main browser window.  Not a popup window.

For FF, I have tried
window.scrollbars.visible = 'false'
but that didn't work.  IE doesn't seem to support it either.
Watch Question

Top Expert 2007
Unlock this solution and get a sample of our free trial.
(No credit card required)
Unlock this solution and get a sample of our free trial.
(No credit card required)
Unlock this solution and get a sample of our free trial.
(No credit card required)
Unlock this solution and get a sample of our free trial.
(No credit card required)
Top Expert 2007

No worries - glad to help.
I usually don't whine, but I'm a bit surprised. The "accepted solution" is the "downright incorrect" one (as can be seen from all the other answers).

But well, the points are of the author's to spend...



You're referring to the first response?  If Badotz will reply and defend his comment correctly, I'll let him keep the points.  Otherwise, I'll contact the admin to get it changed.
Top Expert 2007

Sorry, gents, nothing to defend. I'm mortally wounded, and will gladly offer up the points.

Moderator, please refund the points kindly given me by brettr.

I'm so used to my wife being right that I was sure something was wrong with my response ;-)
Personally, I'm not interested in the points. The only thing actually bothering me is that when the next person finds this question and sees that the accepted solution basically boils down to "what you asked can't be done the way you want", they might not look any further for the correct solution.
to split hairs - bruno's solution doesn't answer the question either, you asked for it to be done thru javascript
Sorry, I didn't realize he wanted it in JavaScript. I saw the question in the CSS area, so I thinked of CSS first!

Feel free to refund the points!


I'm going to let points stand guys.  What I was trying to do with Badotz was award on effort and not solution.  However, experts-exchange.com doesn't allow you to do that.  Unfortunately for an "Accepted Multiple Solutions", it doesn't show the points awarded, which could display relevance.  I always appreciate the people that at least take the time out to pipe in with something remotely close to the topic.  Maybe they get it wrong on one of my questions but got points anyway.  So when they see my next question, they know I won't blow them off.  Hopefully they will try to give a solution and possibly get more points, depending on how close they are.

The ideal thing is if points could be awarded and solutions tagged, irrelvant of points awarded.  That way, people that are making an effort but didn't give the best solution aren't left out.


I guess appending something such as:

*** SOLUTION - ID:20052817Author:DiscoNova *** (points awarded to others for effort)


*** ASSISTED SOLUTION - ID:20052817Author:DiscoNova *** (points awarded to others for effort)

is a fix until something better comes along.
Top Expert 2007

Your argument is based on an incorrect assumption - namely that points, grades and participation are the end result of a question. You, as an individual, may see it thus, but take a step out of the forest and see the 52" picture ;-)

The desired outcome of a question is a solution, one that increases the "knowledge" of EE as a whole. This increase in answers to tough questions beefs up the cake that is EE. Poinks and grades are icing on that cake.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.