scroll bar color scroll bar color
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

scroll bar color

Started by boltonline, July 09, 2006, 07:19:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

boltonline

I need help changing the color of the scroll bar! i used the css code and its not working!

Pascal YAP

Morning,

ScrollBar color work only with IExplorer, not with Friefox in exemple  ;)

PYAP

boltonline

i am using IE.  The same css code is working with all my other pages through out the site just not the gallery

the code is


body { color : red; scrollbar-arrow-color: white; scrollbar-base-color: black; scrollbar-dark-shadow-color: black; scrollbar-track-color: FF0000; scrollbar-face-color: black; scrollbar-shadow-color: white; scrollbar-highlight-color: white; scrollbar-3d-light-color: black}

Nibbler



Pascal YAP

Again Mornin',

Try to insert this code inside your Theme before </head> :
<style>
       BODY {
              scrollbar-face-color:FFE860;
              scrollbar-track-color:006FA4;
              scrollbar-3dlight-color:C0C0C0;
              scrollbar-arrow-color:000000;
              scrollbar-highlight-color:FFFFFF;
              scrollbar-shadow-color:808080;
              scrollbar-darkshadow-color:004080;
            }
    </style>


PYAP

Sami

and please upgrade your gallery to most recent version ( 1.4.8 but very soon it will be 1.4.9 ;) )
1.4.2 has some security issues
‍I don't answer to PM with support question
Please post your issue to related board

boltonline

Quote from: PYAP on July 09, 2006, 11:13:26 PM
Again Mornin',

Try to insert this code inside your Theme before </head> :
<style>
       BODY {
              scrollbar-face-color:FFE860;
              scrollbar-track-color:006FA4;
              scrollbar-3dlight-color:C0C0C0;
              scrollbar-arrow-color:000000;
              scrollbar-highlight-color:FFFFFF;
              scrollbar-shadow-color:808080;
              scrollbar-darkshadow-color:004080;
            }
    </style>


PYAP

I dont have a head section in the theme.php file.

boltonline

Quote from: bmossavari on July 10, 2006, 12:21:23 AM
and please upgrade your gallery to most recent version ( 1.4.8 but very soon it will be 1.4.9 ;) )
1.4.2 has some security issues
updated!

Joachim Müller

Quote from: boltonline on July 10, 2006, 02:25:48 AM
I dont have a head section in the theme.php file.
That's why it's suppossed to go into template.html instead of theme.php

boltonline

#10
this is what i have it lookin like:
<style>
       BODY {
              scrollbar-face-color:FFE860;
              scrollbar-track-color:006FA4;
              scrollbar-3dlight-color:C0C0C0;
              scrollbar-arrow-color:000000;
              scrollbar-highlight-color:FFFFFF;
              scrollbar-shadow-color:808080;
              scrollbar-darkshadow-color:004080;
            }
    </style>

</head>
still not working.

Nibbler

Add hashes in before the colour numbers, eg #FFE860

boltonline

now this is how it looks....<style>
       BODY {
              scrollbar-face-color:#FFE860;
              scrollbar-track-color:#006FA4;
              scrollbar-3dlight-color:#C0C0C0;
              scrollbar-arrow-color:#000000;
              scrollbar-highlight-color:#FFFFFF;
              scrollbar-shadow-color:#808080;
              scrollbar-darkshadow-color:#004080;
            }
    </style>

</head>still didnt work

Stramm

are you aware that scrollbar colors only work within IE?

boltonline

yes. thats what i am using and i see the other webpages i used the code on.
Quote from: Stramm on July 10, 2006, 04:58:37 PM
are you aware that scrollbar colors only work within IE?

Stramm

you're right, it doesn't show on coppermine but on other html pages. However I don't know why.

Sami

I checked it if you enable debug the scrolbar of debog frame will change but the main scrolbar not !!!
‍I don't answer to PM with support question
Please post your issue to related board

Sami

I found the killer ;)
you should remove document type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
that's the one who laugh at us ;)
but in this way you should remove vanity too
‍I don't answer to PM with support question
Please post your issue to related board

boltonline

thats what it was! thanks a lot!! now i just have to change the colors back to match the site.
Quote from: bmossavari on July 10, 2006, 05:30:42 PM
I found the killer ;)
you should remove document type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
that's the one who laugh at us ;)
but in this way you should remove vanity too

Sami

make sure to remove this line from your theme.php
define('THEME_IS_XHTML10_TRANSITIONAL',1);
‍I don't answer to PM with support question
Please post your issue to related board