How to Display Dymanicly Timed Content using Javascript
Posted on Dec.12, 2009No Comments How To, JavascriptI’ve spent many a long hour playing with this javascript to make it work seamlessly. You can see the results, daily, on my website.
If you want to change your website background depending on the time of day you will need this specific code. Otherwise, make sure to read till the bottom so you understand and don’t come back to me asking why it isn’t working for you.
|
Nighttime on ThatGuyCharlie
|
Daytime on ThatGuyCharlie
|
![[image: socialicon]](http://www.thatguycharlie.com/wp-content/themes/allthatstuff/img/social/twitter_16.png)
![[image: socialicon]](http://www.thatguycharlie.com/wp-content/themes/allthatstuff/img/social/flickr_16.png)
![[image: socialicon]](http://www.thatguycharlie.com/wp-content/themes/allthatstuff/img/social/facebook_16.png)
![[image: socialicon]](http://www.thatguycharlie.com/wp-content/themes/allthatstuff/img/social/youtube_16.png)
![[image: socialicon]](http://www.thatguycharlie.com/wp-content/themes/allthatstuff/img/social/deviantart_16.png)
![[image: socialicon]](http://www.thatguycharlie.com/wp-content/themes/allthatstuff/img/rss_sub.png)
![ThatGuyCharlie night-time background [image: TGCNight]](http://www.thatguycharlie.com/wp-content/themes/scyhigh/img/night.png)
![ThatGuyCharlie Day-time Background [image: TGCDay]](http://www.thatguycharlie.com/wp-content/themes/scyhigh/img/dayclouds.png)

