Results 1 to 10 of 16
Hybrid View
-
17th Jun 2010, 11:25 AM #1MemberWebsite's:
GFXWebHosting.com WarezJobs.comnice code bro..
gfxguru Reviewed by gfxguru on . [php] Time-Based CSS This small snippet will allow you to use different color schemes (CSS stylesheets) depending on the time of the day! Its not a hugely complicated piece of code, but very creative! Most people have never even thought of the idea! <?php // If the time is past seven O'clock then use the night stylesheet instead! if (date('G') > 19 || date('G') < 7) { echo '<link rel="stylesheet" type="text/css" href="/static/css/default_night.css" />'; } else { echo '<link Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Long time lurker, first time poster
By Opie in forum IntroductionsReplies: 1Last Post: 27th Sep 2012, 06:53 PM -
[VPS] Need USA based RDP
By masterlog in forum ArchiveReplies: 2Last Post: 19th Apr 2011, 12:57 AM -
[WTB] Vps UK based
By Godly Chaos in forum Hosting DiscussionReplies: 7Last Post: 4th Nov 2010, 05:23 PM -
[VPS] VPS From $8.95/mo USA Based
By webhead2 in forum ArchiveReplies: 4Last Post: 20th Sep 2009, 12:55 AM -
SQL error i get from time to time
By Raven Faust in forum vBulletinReplies: 11Last Post: 27th Aug 2009, 07:54 PM
themaLeecher - leech and manage...
Version 5.07 released. Open older version (or...