View Single Post
Old 12-08-2004, 15:29   #1 (permalink)
andycogbill
Notorious?
 
andycogbill's Avatar
 
Join Date: Nov 2003
Location: Middlebury, VT
Posts: 417
Send a message via AIM to andycogbill
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.
  Reply With Quote