Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Gallery in a IFrame (scrollbar color)  (Read 7604 times)

0 Members and 1 Guest are viewing this topic.

Kelly******

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Gallery in a IFrame (scrollbar color)
« on: November 03, 2006, 05:20:08 am »

How do I make the scrollbar colored, All my pages that apear in the IFrame are right except the gallery and webcalender which are both php programs. I tried putting
BODY {
scrollbar-face-color: 67963e;
scrollbar-highlight-color: 75b03b;
scrollbar-3dlight-color: 75b03b;
scrollbar-darkshadow-color: 67963e;
scrollbar-shadow-color: 67963e;
scrollbar-arrow-color: 000000;
scrollbar-track-color: 67963e;
}
in the css didnt work, and in the templete page didnt work.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Gallery in a IFrame (scrollbar color)
« Reply #1 on: November 03, 2006, 09:46:56 am »

Hex color values should be preceeded with #:
#67963e

Note that it only works in IE and will make your css not validate.
Logged

Kelly******

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Gallery in a IFrame (scrollbar color)
« Reply #2 on: November 03, 2006, 10:01:32 am »

I tried it with the # and still does not work. I put it again in the css then in the templete still the standard gray scroll bars
How can I get the scollbars to be a differant color?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Gallery in a IFrame (scrollbar color)
« Reply #3 on: November 03, 2006, 10:12:48 am »

Please post a link.
Logged

Kelly******

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Gallery in a IFrame (scrollbar color)
« Reply #4 on: November 03, 2006, 11:00:46 am »

look under photo / video along top for gallery link
http://www.wichitarcraceway.com/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Gallery in a IFrame (scrollbar color)
« Reply #5 on: November 03, 2006, 02:24:29 pm »

You still don't have the # in front of the color codes. Your style section is suppossed to be inside the <head>...</head> section of the HTML output of the parent document. Instead of
Code: [Select]
<style type="text/css">
<!--
BODY {
scrollbar-face-color: 67963e;
scrollbar-highlight-color: 75b03b;
scrollbar-3dlight-color: 75b03b;
scrollbar-darkshadow-color: 67963e;
scrollbar-shadow-color: 67963e;
scrollbar-arrow-color: 000000;
scrollbar-track-color: 67963e;
}
-->
</style>
you should try
Code: [Select]
<style type="text/css">
<!--
html, body {
    scrollbar-face-color:#67963E;
    scrollbar-highlight-color:#75b03B;
    scrollbar-3dlight-color:#75b03B;
    scrollbar-darkshadow-color:#67963E;
    scrollbar-shadow-color:#67963E;
    scrollbar-arrow-color:#000000;
    scrollbar-track-color:#67963E;
}
-->
</style>
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.