Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-29-2005, 11:52 PM   PM User | #1
Snetty
New Coder

 
Join Date: May 2005
Posts: 94
Thanks: 4
Thanked 0 Times in 0 Posts
Snetty has a little shameless behaviour in the past
Invisible but Functional Scrollbars

I've got a "News" section on a site that i'm working on, which takes it's input from a database.

As a general rule, it'll need a scrollbar, but that'll mess up the design of my site. Is it possible to remove the scrollbar, but retain the functionality, so that you can scroll down with the mousewheel still?
Snetty is offline   Reply With Quote
Old 05-29-2005, 11:56 PM   PM User | #2
JamieR
Senior Coder

 
JamieR's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 3,161
Thanks: 0
Thanked 5 Times in 5 Posts
JamieR is on a distinguished road
Can we have a url please?

Well you have to think of the users - not everyone on their mouse has a scroll wheel. If you try and remove the scroll bars then how are they going to know how that they have to scroll down to see the rest of the content? The news frame would appear with "cut off" content to a user who doesn't know that they have to scroll down

Just a thought..

Jamie.
__________________
-Jamie
JamieR is offline   Reply With Quote
Old 05-30-2005, 02:44 AM   PM User | #3
ArcticFox
Regular Coder

 
ArcticFox's Avatar
 
Join Date: Jan 2004
Location: Vostok Station, AQ
Posts: 602
Thanks: 35
Thanked 3 Times in 3 Posts
ArcticFox can only hope to improve
Arrow

I agree with weazel on this one. Right from the start, it doesn't sound like a good thing to do.

Why not have coloured scrollbars, or a mouseOver scroller. Removing them when you know there's more information "below the horizon" won't be very productive, IMO.
__________________
<div> - putting your mind in a box since 1997
ArcticFox is offline   Reply With Quote
Old 05-30-2005, 11:17 AM   PM User | #4
mrruben5
Regular Coder

 
Join Date: Nov 2004
Location: The Netherlands
Posts: 551
Thanks: 0
Thanked 0 Times in 0 Posts
mrruben5 is an unknown quantity at this point
What Articfox says is probably the best. There's a site with these scripts but I forgot the url...
__________________
CATdude about IE6: "All your box-model are belong to us"
mrruben5 is offline   Reply With Quote
Old 05-30-2005, 11:22 AM   PM User | #5
JamieR
Senior Coder

 
JamieR's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 3,161
Thanks: 0
Thanked 5 Times in 5 Posts
JamieR is on a distinguished road
a coloured scroller seems a good idea, but totally removing the scroll bar would affect the users of the website altogether.
__________________
-Jamie
JamieR is offline   Reply With Quote
Old 05-30-2005, 01:50 PM   PM User | #6
Snetty
New Coder

 
Join Date: May 2005
Posts: 94
Thanks: 4
Thanked 0 Times in 0 Posts
Snetty has a little shameless behaviour in the past
I like the idea of the mouseover scrollbars.. anyone got any code/links to help me out with that?

Thanks for all the replies guys.
Snetty is offline   Reply With Quote
Old 05-31-2005, 02:06 AM   PM User | #7
syrupcore
Regular Coder

 
Join Date: May 2005
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
syrupcore is an unknown quantity at this point
be careful of scripts that only work in IE.

also be careful of using negative margins to deal with scroll bar offset as some browsers (opera) play different. some shift the content over and some just drop the bar on top.

Either way, I'd design as if the scroll bars will be there.

Will
syrupcore is offline   Reply With Quote
Old 05-31-2005, 03:19 AM   PM User | #8
ArcticFox
Regular Coder

 
ArcticFox's Avatar
 
Join Date: Jan 2004
Location: Vostok Station, AQ
Posts: 602
Thanks: 35
Thanked 3 Times in 3 Posts
ArcticFox can only hope to improve
Thumbs up

I've onMouseOver links for two of my menu iFrame windows, but keep in mind what syrupcore said.

view-source: http://arctic.ithium.net/

Coloured scrollbars appear in the main section in IE with onMouseOvers on the menu windows.

Firefox (I think) gets coloured scrollbars on the main and menu windows.

All other browsers get the standars scrollbars (boring) on all sections.

And there are a few other ways to scroll things. Personally I like the way this page has you onMouseDown on a little hand then drag it, moving the page with it:
http://htmlguru.com/content/webpages/guru/index.html

Again, keep in mind it's probably IE only...
__________________
<div> - putting your mind in a box since 1997
ArcticFox is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:03 AM.


Advertisement
Log in to turn off these ads.