...

View Full Version : Is there any way to move the scrollbar?



Lilly10
05-09-2006, 01:57 AM
I was wondering if anyone here could help me.

I'm trying to build a site in html, but I need to have scrollbar moved. Explanatory diagram [lol]:


................................----moved----> scrollbar [for the area marked]
_____________________________________
| AREA THAT SCROLLS | EMPTY SPACE | ^ |
| AREA THAT SCROLLS | EMPTY SPACE |....|
| AREA THAT SCROLLS | EMPTY SPACE |....|
| AREA THAT SCROLLS | EMPTY SPACE |....|
| AREA THAT SCROLLS | EMPTY SPACE | V |
_____________________________________

Is that possible? The easiest solution would be to create additional column, right? But then scroll would be directly next to scrolled area and BEFORE the empty space. T_T

Any ideas? Can somebody help me?

ronaldb66
05-09-2006, 09:04 AM
You will probably have to resort to using some custom (JavaScript or probably Flash) scroller, with all the usual drawbacks attached to it; default scroll bars are part of the user interface and don't offer much options for customisation (nor should they).

The more important question for me is: why?!! Why would you deliberately reduce usability by visually detaching a scroll bar from the area it adheres to?

Lilly10
05-09-2006, 01:56 PM
Well... because that is the idea behind the whole project, I'm afraid. And since there are no other scrollbars on the entire page, I believe it's not going to come out that bad.

Hmm... what if I added another column in between, but so that scroll would still refer to the previous column? =='

Or... what if I just made 1 big column and modified the right side of background for that column so that it was a transparent gif [on the right] and a normal pic [on the left].

Dunno if any of this makes any sense to anyone, I'm just trying to think aloud here. I was suspecting that I'd need java script for that, but finding a suitable javascript is about as much of a challenge as fixing it with html I guess.

*sigh*

Oh! While we're at it: can anyone recommend me some nice free example of a code to make a thinner scrollbar? Like: normal scrolls are 15px wide, and you can easily modify its colors with CSS, right? I'm searching for something thinner than 15px, eg. 10 or 8. Would that be also javascript?

Arbitrator
05-09-2006, 03:01 PM
Oh! While we're at it: can anyone recommend me some nice free example of a code to make a thinner scrollbar? Like: normal scrolls are 15px wide, and you can easily modify its colors with CSS, right? I'm searching for something thinner than 15px, eg. 10 or 8. Would that be also javascript?You can't alter the width of the system scrollbars. If you want to change them tell all your users to go to...

Control Panel > Display Properties > Appearance tab > Advanced Button > Item option: Scrollbar > Size option 10.

I think you'll find your users rather unwilling though. Just the ability to change their colors uses CSS proprietary to Microsoft (e.g., Internet Explorer only). You can use custom-built scrollbars but personally I think it isn't a good idea; users (like myself) that use the mousewheel for scrolling will find themselves unable to do so. Users with JavaScript disabled will find themselves unable to scroll at all.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum