Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Location
    Dewsbury, UK
    Posts
    23

    Default Coloured scroll bars

    When I used netobjects fusion I was able to add a small script into my page that changed the scroll bars to match my site theme.

    Is it possible in XWD6 and if so where do I put it?

    I have tried a place holder on and off the page with no effect.

    Any ideas?

    This was the script:

    <SCRIPT LANGUAGE="JavaScript"><!--
    PA_x=1;PA_y=0;//--></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="./pagealign.js"></SCRIPT>

    <STYLE type="text/css">
    BODY {scrollbar-3dlight-color:#000000;
    scrollbar-arrow-color:#000000;
    scrollbar-base-color:;
    scrollbar-track-color:#F8D88E;
    scrollbar-darkshadow-color:#000000;
    scrollbar-face-color:#DEB03C;
    scrollbar-highlight-color:#D2B48C;
    scrollbar-shadow-color:}
    </STYLE>

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Coloured scroll bars

    Place following into the head placeholder (the code placeholder with assigned "<head>" name):
    Code:
    <style type="text/css">
    body {scrollbar-3dlight-color:#000000;
    scrollbar-arrow-color:#000000;
    scrollbar-base-color:;
    scrollbar-track-color:#F8D88E;
    scrollbar-darkshadow-color:#000000;
    scrollbar-face-color:#DEB03C;
    scrollbar-highlight-color:#D2B48C;
    scrollbar-shadow-color:;}
    </style>
    John.

  3. #3
    Join Date
    Jun 2009
    Location
    Dewsbury, UK
    Posts
    23

    Default Re: Coloured scroll bars

    Thanks John

    I will have a play.

  4. #4

    Default Re: Coloured scroll bars

    Actually that doesn't work as advertised.
    I had a similar conversation with GP about this last year.
    To change the scroll bar colours replace BODY with HTML

    <style type="text/css">
    HTML {scrollbar-3dlight-color:#000000;
    scrollbar-arrow-color:#000000;
    scrollbar-base-color:;
    scrollbar-track-color:#F8D88E;
    scrollbar-darkshadow-color:#000000;
    scrollbar-face-color:#DEB03C;
    scrollbar-highlight-color:#D2B48C;
    scrollbar-shadow-color:;}
    </style>

    See attached for an example

    Note that scroll bar colouring only applies to IE.
    Attached Files Attached Files

  5. #5
    Join Date
    Jun 2009
    Location
    Dewsbury, UK
    Posts
    23

    Default Re: Coloured scroll bars

    Thanks Sledger

    It works now, I know it is only IE but may be the others will follow.

    Thanks again

 

 

Tags for this Thread

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
  •