A List Apart

Menu
Issue № 152

Build a PHP Switcher

by Chris Clark · 87 Comments

ALA’s open source style sheet switchers are swell as long as your visitors use compliant browsers and have JavaScript turned on. But what if they don’t? Perhaps, this: Chris Clark tells how to build a cross-browser, backward-compatible, forward-compatible, standards-compliant style sheet switcher in just five lines of code.

More from A List Apart

Columnists

Lyza Danger Gardner on Building the Web Everywhere

The Implicit Contract

Working with a team of like-minded folks not only makes for more copacetic daily interactions, it actually has a positive effect on the end product. Developers are valued for more than their technical skills. Another hallmark of a good developer is how well they mesh with a team.

From the Blog

Getting Started with Gulp

While building JavaScript related projects (whether server side via Node.js or front-end libraries), a build tool to help easily maintain and automate many of the processes—including testing, concatenating files, minification, compiling templates, as well as many other options—can be incredibly useful.