Ahh... features

Tagged

Well the last piece of techology has been added to the site.

I just finished writing a really light PHP script that sets a cookie based on user input as to which layotu you want to view. I had originally hoped to just use alternate stylesheets to create the two pages, that way the url remains the same, but the layouts could change.

Unfortunately whilst designing I changed the layout dramtically, and the alternate styles became impossible. So I opted for the present solution. The base url is the same, after a fashion. You still link to the index.php page, so offsite linking is not compromised, the index page now performs a cookie check, and if one id found redirects you to the appropriate page; if no cookie exists it sends you to the default page, minimal.php and does not create a cookie.

To create the cookie you must manually switch layouts via the links on each page located in the menu on the left. If you would like to set the cookie now, here are the links:

Enjoy.