A Christmas Present from Juggledad - A liturgical 'background' color script
Updated for 2013
Here is a little present for anyone working on a christian church web site (if you're of another religion and your faith uses different colors to represent different times of the year - you could could yuse this too.) this jscript gets todays date then checks thru a bunch of dates to set the color based on the time of year. It then changes the pages background color to match. Check the dates to make sure they match your liturgical calendar. HOW TO USE IT 1) go to ato->Body, Text & Links and remove the 'background' and/or 'background-color' statement that might be there 2) add the following to ato->Add HTML/CSS Inserts->HTML Inserts: Body Bottom HTML Code:
<script type="text/javascript"> Enjoy and Merry Christmas |
Any demo site available?
|
Thank you, Juggledad
I've only just spotted this, and delighted :) "Happy Christmas" ~ Katy |
ARealpolitik - hang on and I'll put it on a site - I'll change the code so it does it checks the seconds and every 5 seconds (on a page refresh) it will change color
might not be till later tonight since the little one is visiting (grandkids are sooo much fun) |
hi juggledad,
how to adjust the code for 2012 or 2013? or is that not nessesary? |
I will adjust it, I just have to get the dates (I use it on my church's website :))
|
oke thanks, want to try make my Ata have a xmas look :-)
|
It has been updated for 2013
|
All times are GMT -6. The time now is 04:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.