views:

339

answers:

1

Is there a way to temporarily change the scrollbar width in FF or IE while I'm testing some layout code?

I remember reading something a while back about this being related to resolution, but can't quite remember. I tried changing the resolution of the computer itself, tried increasing browser font size, but both didn't work.

Update I've come across this thread that describes how to edit the settings from within Firefox, but it doesn't work smoothly, at least hasn't worked smoothly yet for me. The asker said it eventually worked for him, so I'll do more testing later.

A: 

I think this might be what you are looking for...

http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html

It allows you to completely control the style of your scrollbars.

zac
Just to be clear, this creates "fake" scrollbars using Javascript, which you could use to replace real scrollbars. That's as close as you'll get to custom scrollbars.
deceze
@deceze Thanks for pointing this out. This would be too powerful for me then, and may even not work for what I need, since I don't really need the power of custom scrollbars. Is there a setting in the browser or the operating system that can let me control the thickness of the browser? or even a way to change the resolution and get different thickness?
goodan
@goodan I don't think this is possible. A scrollbar is a scrollbar, and thank God websites aren't able to change them willy-nilly. IE and possibly one or two other browsers allowed customization of the scrollbar color scheme, but AFAIK that's about it.
deceze
@deceze, I should clarify, I'm not trying to change the scrollbar size for my site's visitor. Just on my own browser for testing purposes. I would have thought that would be super easy, alas.
goodan
@goodan That's understood, I was just saying it's not possible and that's a Good Thing™. :)
deceze
@deceze, it seems there might be a way, refer to my update in the original question, but will have to work on it again later to see if it will really work out
goodan