| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Notorious?
|
Alternate stylesheets
Hey all, I am working on an alternate stylesheet for work and am practicing on my site (www.andycogbill.com). I have a script in place that switches (with JS) the style to another stylesheet and sets a cookie to remember that style. Trouble is, I'm not sure how to get it to work for multiple pages. When I switch the styles with Firefox, I run into the same problem; it works for one page, but as soon as I click a link to read on or whatever, the original "pretty" design is there. Is it possible to have the user click a link on the homepage that sets an alternate stylesheet that lasts until they close their window? Cheers! Now adding "eh?" to the end of my sentences.
|
|
|
|
|
|
#2 (permalink) |
|
Free Ring Ding™
Join Date: Feb 2003
Location: Manchester
Posts: 9,536
|
Yeah, Use php http://www.alistapart.com/articles/phpswitch/ |
|
![]() |