News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sonspring.com:
Time Sensitive CSS
June 20, 2006 @ 12:16:12

From Sonspring.com, there's a quick tutorial on a simple way to make "time-sensitive CSS" for your site.

Recently, there's been some discussion on the Godbit forum about how to serve dynamic, time sensitive CSS with PHP. I got to thinking, and the steps necessary to make this work are actually pretty easy. First off, let me say that most hardcore programmers will probably scoff at the simplicity of these examples. However, a hardcore programmer I am not, so basic tutorials are what I enjoy. Also, please know that this is not an exercise in JavaScript / Ajax. It is simply a way to provide unique CSS based on date and time.

They include examples of what the result of the code is for two different methods - the month-based CSS and the PHP + CSS Clock approaches. Their examples are just the sample uses of the code, but they also make each available for download. Check out all of the comments for even more tips!

0 comments voice your opinion now!
time-sensitive css simple tutorial download time-sensitive css simple tutorial download


blog comments powered by Disqus

Similar Posts

Hasin Hayder's Blog: Complete oAuth script for Twitter and LinkedIn using PECL oAuth Extension

Stefan Mischook's Blog: Installing PHP and MySQL on the Mac with MAMP

Adam Lundrigan: Quick-and-dirty ZF2: Zend\Navigation

MaltBlue.com: Zend Framework 2 Event Manager - A Gentle Introduction

Brian Swan's Blog: Getting Started with the SQL Server Driver for PHP


Community Events





Don't see your event here?
Let us know!


zendserver bugfix threedevsandamaybe tips community api introduction symfony list deployment language framework series conference code podcast release laravel development interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework