Link Details

Link 42375 thumbnail
User 217101 avatar

By gst
via prdesign-studio.co.uk
Submitted: Sep 17 2007 / 13:16

Hi all, as this is the first tutorial I've posted I thought I'd make it an easy one (for my sake). Basically this tiny PHP script will show you how to make a stylesheet switch depending on the time of day, similar to the one found here. You will need three seperate stylesheets named morning.css, day.css and night.css. All you really need different in each is the background image, to give the sense of a different time of day, but feel free to experiment with other elements such as link colours.
  • 3
  • 0
  • 343
  • 27

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)