Matt Jones

Alternates

  • Posted by Matt (Permalink)
  • Published on

I'm working on a new personal site using multiple stylesheets and I've been playing around with some PHP to dynamically swap the stylesheet depending on the user's preference. Just recently however, I've been stumped on how to create a cookie so that the browser remembers the preferred stylesheet [i'm not really a programmer y'see]. So what's the latest issue of AListApart? Alternative Style, a tutorial on successfully integrating what I've been trying to get my head around over the last few weeks. It even has a downloadable javascript file that does it all for you. Hurray for AListApart!