Switch CSS Styles
- Started
- Last post
- 3 Responses
- Shepstar
Hi,
this question probably has been asked before but I couldn't find it.I have like 2 Stylesheets for one site that just changes the color of the site. I tried the mezzoblue or cssgarden one. Problem here is if you switch the stylesheet it works fine, but as soon as I go on to a next page it goes back to the old stylesheet.
I'm looking for one where you can change the stylesheet and keep this one for the entire time on the website. I'd prefer a php script rather then a javascript one if this is possible. Thanke you guys
- welded0
Smells like cookies!
Just set one and have each page check the value and set the appropriate stylesheet. I don't have one made, but it would be simple. Just search the PHP site for how to set cookies and you will be well on your way.
- weestu0
think this might be what you're after: http://www.alistapart.com/articl…
- ********0
ye could pass a variable tae the next page too.