Results 1 to 3 of 3

Thread: Browser Scroll bars

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    39
    Hello everyone.

    Is there a way I can change the color of the scroll bars which are used in a browser. So when someone comes to a site it will change their scroll bars to the colors which I have set?

    Thanks

  2. #2
    Member
    Join Date
    Sep 2000
    Posts
    49
    Yes, but the following ONLY work in IE5.5 :

    Using CSS:
    Code:
    BODY{
    SCROLLBAR-FACE-COLOR: vColor
    SCROLLBAR-ARROW-COLOR: vColor
    SCROLLBAR-SHADOW-COLOR: vColor
    SCROLLBAR-DARKSHADOW-COLOR: vColor
    SCROLLBAR-3DLIGHT-COLOR: vColor
    SCROLLBAR-HIGHLIGHT-COLOR: vColor
    SCROLLBAR-TRACK-COLOR: vColor
    }
    Using JavaScript:
    Code:
    object.style.scrollbarBaseColor = vColor;
    object.style.scrollbarArrowColor = vColor;
    object.style.scrollbarDarkShadowColor = vColor;
    object.style.scrollbar3dLightColor = vColor;
    *where vColor is a color name or an RGB value.*

    I'm not sure those are all the possibilities (there are probably more options for JavaScript), but they should get you started.

    [Edited by N*G*Evangelion on 11-20-2000 at 04:18 AM]

  3. #3
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Thumbs up Cool

    wow, I tried the first one, and it worked for me... go to http://www.angelfire.com/sd/Emil to see what I did! (and no, I'm not trying to get people to sign up for the programs there)

    P.S. If you want the code for the text following the mouse, just tell me! (The cursor is from angelfire)

    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    «¤E³m°O²™¤»

Posting Permissions

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



Click Here to Expand Forum to Full Width