Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Seattle
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    My colored scrollbar is not working

    I added a drop-in context box and now my colored scroll bars doesn't work.
    The site is: http:\\nwms.ohsd.net

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi well i saw the problem, heres how to fix it.


    Just replace the old style with this one. What i've chenged is bold faced

    -------

    <STYLE type="text/css">
    <!--
    BODY
    {scrollbar-face-color: "red"; scrollbar-shadow-color: black;
    scrollbar-highlight-color: white; scrollbar-3dlight-color:"red";
    scrollbar-darkshadow-color: #white; scrollbar-track-color:"black";
    scrollbar-arrow-color: "black"}
    -->
    </STYLE>

    -------

    HappyScripting
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #3
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Seattle
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thank You

    I changed the script and it is now working.
    Thanks

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    less code, looks better...

    <style>
    BODY {scrollbar-base-color: #FF0000; scrollbar-arrow-color: #000000;}
    </style>

    that'll give you the same effect with a better colour coordination...

    #FF0000 is the colour code for Red
    #000000 is the colour code for black

    ~Quack

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If your hex code is in pairs, for example; #000000 or #006699, you can use a single digit for each pair, so #000 and 069, would give the same results. Only when used in styling though.
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.


  •  

    Posting Permissions

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