- Create Account

Hide scrollbar

Forums > General Topics > Hide scrollbar
Author
Message

1) coreper Group: Members
Posts: 3 Joined: 10 Sep 2007 Location: Uden, The Netherlands IP: 80.60.--.--
does anyone know if there is a way to hide the scrollbar from windows, but keeping the ability to scroll with the mouse' scrollwheel?

i know there are scripts for hiding the scrollbar in IE, but they usually wont work in other browsers..

thanks in advance
by coreper

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Why on earth would you want to do that?

You can probably use overflow:hidden to hide the scrollbar, but seriously -- just leave it there. People expect scrollbars. And not everyone uses a mouse...

- Angus.

3) coreper Group: Members
Posts: 3 Joined: 10 Sep 2007 Location: Uden, The Netherlands IP: 80.60.--.--
i would like to do that, because:
i have a menu in my website which can expand in such a way that it will apear outside the window
so: i want to keep the scrolling function, but remove the scrollbar
this will people will be able of scrolling but wont see a scrollbar

i want to remove the scrollbar because it "messes up" my menu: you can find the menu [url=http://coreper.110mb.com/prototype/index.htm]here[/url] [note: this menu DOES NOT work like it is supposed to: it is just a prototype {links open wrong when clicked}, so please dont tell me they dont work properly]

EDIT:
how  does the overflow command work?
by coreper

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Grab a CSS reference, it's <ELEMENT STYLE="overflow: hidden">. Sorry, don't have time to debug your website for free!

- Angus.

5) sdthomas Group: Members
Posts: 6 Joined: 17 Jan 2008 Location: UK IP: 81.151.--.--
Frames are horrible, you may be better using Ajax to load in your element contents instead.

Otherwise Add this css to the left menu frame document head
<style type="text/css">
html{
overflow:hidden;
}
</style>

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.