mezzoblue/csszengarden.com — pull request #22 by chuyskywalker (2013-05-08 07:28:43+00:00)
Title: No PHP Needed

There are a few other tasks about converting the master list to JSON and using that (#17). Why not go a step further and convert the whole dang thing to JS? This isn't exactly rocket science and the hosting bill would likely thank you!

I've recoded the navigation, page load, etc to all resolve # tags for which design to load and on-page resolution. In fact, the HTML is only served once -- after that, the CSS file is swapped out and the HTML for navigating the designs is replaced inline.

I've spent the last few hours just getting this put together, so I've not yet done extensive browser testing. That said, the code is so basic I expect it would hold up fairly well.

What do you think?