Change background everyday



script language=”JavaScript”>
/*background changer Script
Created By Ian (www.a1javascripts.com) – Please leave all credits in place if useing this script. */

//Make new array and get the current day in var today
var img = new Array();
Stamp = new Date();
today = Stamp.getDate();
//put the img of the day in each img[x] string
//change images each month, automatically switches every day
img[0]=”body background=’1st.jpg’>”
img[1]=”body background=’2nd.jpg’>”
img[2]=”body background=’3rd.jpg’>”
img[3]=”body background=’4th.jpg’>”
img[4]=”body background=’5th.jpg’>”
img[5]=”body background=’6th.jpg’>”
img[6]=”body background=’7th.jpg’>”
img[7]=”body background=’8th.jpg’>”
img[8]=”body background=’9th.jpg’>”
img[9]=”body background=’10th.jpg’>”
img[10]=”body background=’11th.jpg’>”
img[11]=”body background=’12th.jpg’>”
img[12]=”body background=’13th.jpg’>”
img[13]=”body background=’14th.jpg’>”
img[14]=”body background=’15th.jpg’>”
img[15]=”body background=’16th.jpg’>”
img[16]=”body background=’17th.jpg’>”
img[17]=”body background=’18th.jpg’>”
img[18]=”body background=’19th.jpg’>”
img[19]=”body background=’20th.jpg’>”
img[20]=”body background=’21st.jpg’>”
img[21]=”body background=’22nd.jpg’>”
img[22]=”body background=’23rd.jpg’>”
img[23]=”body background=’24th.jpg’>”
img[24]=”body background=’25th.jpg’>”
img[25]=”body background=’26th.jpg’>”
img[26]=”body background=’27th.jpg’>”
img[27]=”body background=’28th.jpg’>”
img[28]=”body background=’29th.jpg’>”
img[29]=”body background=’30th.jpg’>”
img[30]=”body background=’31st.jpg’>”
//write todays img so that the img number matches with the day
document.write(img[today-1]);
/script>

Cost :$0.00
Category : Javascript
Info : Add a ‘< ' tag before body background.

Related posts

  • Background flash java script
  • Change background color when you double-click
  • POETRY BOT
  • CGI based Autoresponder Script
  • MULTIPLE DOMAIN HOST
  • SUPERSTATS LOG ANALYZER
  • Another “Users Online” Script.


  • Leave a Reply

    You must be logged in to post a comment.