SitePoint Sponsor

User Tag List

Results 1 to 14 of 14
  1. #1
    SitePoint Zealot AVdes's Avatar
    Join Date
    Jun 2005
    Location
    GA
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What happened to ScrollBar Manip?

    I've been looking for scrollbar Manipulation tips but everything I find is from way back to ie5.5.

    Is it no longer possible to change the look of scrollbars? I remember being able to do this with CSS and JavaScript. but It doesn't seem to work with FF Opera or Safari. I haven't tried IE6 or 7 yet. Any clues out there as to how I can do this?
    CSS Club mantra; "I hate IE6, I hate IE6, I hate IE6".
    http://www.avdes.com

  2. #2
    SitePoint Zealot
    Join Date
    Apr 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, i am new to design, may be thats why i never saw any such codes, i will sick to this topic so that if someone tells it, ill also note it
    Last edited by web67; Apr 15, 2008 at 20:22.
    Keep Up to date about everthing Website Flipping
    Find out how to same thousands on your Mortgage Broker fees.

  3. #3
    SitePoint Zealot AVdes's Avatar
    Join Date
    Jun 2005
    Location
    GA
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    scrollbar-face-color: #ffffff;
    scrollbar-arrow-color: #ffffff;
    scrollbar-base-color: #ffffff;
    scrollbar-3dlight-color: #ffffff;
    scrollbar-highlight-color: #ffffff;
    scrollbar-shadow-color: #ffffff;
    scrollbar-darkshadow-color: #ffffff;
    scrollbar-track-color: #ffffff;

    This used to work. Maybe it's only for IE
    CSS Club mantra; "I hate IE6, I hate IE6, I hate IE6".
    http://www.avdes.com

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    It is only for IE. I consider that all other web browsers are more sensible.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are good reasons why you shouldn't change it. The user might have adapted their scrollbars to fit their needs, e.g. because of colour-blindness, so you shouldn't have been able to change this in the first place.
    Dan G
    Marketing Strategist & Consultant

  6. #6
    Function Curry'er JimmyP's Avatar
    Join Date
    Aug 2007
    Location
    Brighton, UK
    Posts
    2,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ^ Agreed!

    Plus I think it looks really ugly most of the time...
    James Padolsey
    末末末末末末末末末末末末末末末末末末末
    Awesome JavaScript Zoomer (demo here)
    'Ajaxy' - Ajax integration solution (demo here)

  7. #7
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, the designer can change pretty much everything else about the look and feel of the page, you can have form elements that are ugly and horrible and almost unusable, background color=magenta foreground color=green, so I don't buy the "color blind" argument as to why other browser makers decided to have unstyleable scrollbars.

    I say if you want to make an ugly page you should be able to muck with the scrollbars as well.

    If browsers were sensible, they'd all be black on white, and I'd set my background color in some weird ini file.

  8. #8
    SitePoint Zealot AVdes's Avatar
    Join Date
    Jun 2005
    Location
    GA
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a page with two frames left and right. I know I can do it better with includes and css but that is what the client wants. So I have it set so that the left scrolls up and down if the drop down menu goes down too far. I was hoping to change that scroll bar to match the design of the page itself. Basically blue and white with a doted line in the back ground to match a line that is hidden by the scroll bar when active.
    CSS Club mantra; "I hate IE6, I hate IE6, I hate IE6".
    http://www.avdes.com

  9. #9
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jimfraser View Post
    Actually, the designer can change pretty much everything else about the look and feel of the page, you can have form elements that are ugly and horrible and almost unusable, background color=magenta foreground color=green, so I don't buy the "color blind" argument as to why other browser makers decided to have unstyleable scrollbars.
    You can find quite a few people arguing against styling those form elements, though

    I say if you want to make an ugly page you should be able to muck with the scrollbars as well.

    If browsers were sensible, they'd all be black on white, and I'd set my background color in some weird ini file.
    You still can't change the fact that the scrollbars are part of the browser and not part of the actual page, and if you as the user want to you can set your browser to all black and white, now just imagine then you get on a page that changes your all black and white browser to pink and purple.

    But once again, this forum isn't about arguing whether something is right or wrong implemented in browsers, it's about providing solutions to problems, and if you don't like that this isn't in the CSS specification you should take it up with the respective working group.
    Dan G
    Marketing Strategist & Consultant

  10. #10
    SitePoint Zealot AVdes's Avatar
    Join Date
    Jun 2005
    Location
    GA
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So the conclusion is that outside of IE there is no way to change the look of the scrollbars?
    CSS Club mantra; "I hate IE6, I hate IE6, I hate IE6".
    http://www.avdes.com

  11. #11
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    scrollbars are part of the browser and not part of the actual page
    Code:
    body {
      overflow: none;
    }
    take that scrollbars!

  12. #12
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    touché, still they're part of the browser and not part of the page.
    Dan G
    Marketing Strategist & Consultant

  13. #13
    SitePoint Wizard bronze trophy bluedreamer's Avatar
    Join Date
    Jul 2005
    Location
    Middle England
    Posts
    3,359
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jimfraser View Post
    ...so I don't buy the "color blind" argument as to why other browser makers decided to have unstyleable scrollbars.
    You didn't ask me I suffer from colourblindness and badly styled scroll bars can be very unusable if they're tampered with. Fortunately I don't use IE so rarely see anything other than browser defaults.

  14. #14
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I suffer from colourblindness
    Sorry to hear that, my dad has a problem with that too so that means that I likely will at some point

    Anyway my point was that a badly coloured page background/font is as likely (if not moreso) to cause colourblindness problems as the scroll bars are.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •