css-styleswitcher css-styleswitcher
 

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

css-styleswitcher

Started by stwief, July 27, 2005, 08:32:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stwief

I'm integrating Coppermine in an existing website, and in this site I used a css styleswitcher. In a cookie, i store one variable: "$colour". This is also the name of the different css-files. In total, I have 6 different stylesheets (only the colours vary), and it's no problem to adjust these css-files so that they work for the entire site, included coppermine.
But I do have another problem: how can I tell coppermine which css file it should use?
In template.html, I can adjust the css, but I can't work with php code to switch to different stylesheets offcourse..

anybody has an idea?

thanks!