css-styleswitcher css-styleswitcher
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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!