PDA

View Full Version : Re: Auto CHANGE TEXT every day of the Month



Collectors-info
11-29-2008, 03:27 PM
One for the month as well if needed with text.

<table border="0" width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="0">
<tr><td width="100%">

<script>
<!--

var today_obj=new Date()
var today_date=today_obj.getDate()

var tips=new Array()
//Configure the below variable to contain the "header" of the tip
var tiptitle=''

//Configure the below array to hold the 31 possible tips of the month
tips[1]='Tip 1 goes here'
tips[2]='Tip 2 goes here'
tips[3]='Tip 3 goes here'
tips[4]='Tip 4 goes here'
tips[5]='Tip 5 goes here'
tips[6]='Tip 6 goes here'
tips[7]='Tip 7 goes here'
tips[8]='Tip 8 goes here'
tips[9]='Tip 9 goes here'
tips[10]='Tip 10 goes here'
tips[11]='Tip 11 goes here'
tips[12]='Tip 12 goes here'
tips[13]='Tip 13 goes here'
tips[14]='Tip 14 goes here'
tips[15]='Tip 15 goes here'
tips[16]='Tip 16 goes here'
tips[17]='Tip 17 goes here'
tips[18]='Tip 18 goes here'
tips[19]='Tip 19 goes here'
tips[20]='Tip 20 goes here'
tips[21]='Tip 21 goes here'
tips[22]='Tip 22 goes here'
tips[23]='Tip 23 goes here'
tips[24]='Tip 24 goes here'
tips[25]='Tip 25 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
tips[26]='Tip 26 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
tips[27]='Tip 27 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
tips[28]='Tip 28 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
tips[29]='Tip 29 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
tips[30]='Tip 30 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
tips[31]='Tip 31 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'

document.write(tiptitle)
document.write(tips[today_date])

//-->
</script>

</td></tr></table>

davidundalicia
11-29-2008, 08:08 PM
Deserves its own thread Chris.................nice one

Collectors-info
11-29-2008, 08:47 PM
Deserves its own thread Chris.................nice one
http://www.vodahost.com/vodatalk/images/icons/icon14.gif http://www.vodahost.com/vodatalk/images/icons/icon12.gif

Karen Mac
11-29-2008, 09:04 PM
LOL.. I have one that changes every time the page is viewed. Ill have to dig it up...

Karen