css-styleswitcher css-styleswitcher
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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!