Web Analytics Made Easy -
StatCounter Display new link everyday for whole year in a sequence - CodingForum

Announcement

Collapse
No announcement yet.

Display new link everyday for whole year in a sequence

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display new link everyday for whole year in a sequence

    can anyone please modify(or post new script) this script to be used for whole year.i want separate values of urls for all the 365 days.so that i don't have to change the urls after every month.

    <script>

    var daylinks=new Array()
    /*
    Enter the 31 urls below you wish to go to for each day of the month. Note that if the current month contains less than 31 days, then some of the urls will simply not be used
    */

    daylinks[1]="http://www.cnn.com"
    daylinks[2]="http://www.abcnews.com"
    daylinks[3]="http://www.cnet.com"
    daylinks[4]="http://www.geocities.com"
    daylinks[5]="http://www.lycos.com"
    daylinks[6]="http://www.infoseek.com"
    daylinks[7]="http://www.hotbot.com"
    daylinks[8]="http://www.tripod.com"
    daylinks[9]="http://www.javascriptkit.com"
    daylinks[10]="http://www.wired.com"
    daylinks[11]="http://www.download.com"
    daylinks[12]="http://www.windows95.com"
    daylinks[13]="http://www.shareware.com"
    daylinks[14]="http://www.builder.com"
    daylinks[15]="http://www.htmlgoodies.com"
    daylinks[16]="http://www.webreference.com"
    daylinks[17]="http://www.webdeveloper.com"
    daylinks[18]="http://www.developer.com"
    daylinks[19]="http://www.news.com"
    daylinks[20]="http://www.techweb.com"
    daylinks[21]="http://www.zdnet.com"
    daylinks[22]="http://www.excite.com"
    daylinks[23]="http://www.nba.com"
    daylinks[24]="http://www.microsoft.com"
    daylinks[25]="http://www.netscape.com"
    daylinks[26]="http://www.amazon.com"
    daylinks[27]="http://www.xml.com"
    daylinks[28]="http://www.espn.com"
    daylinks[29]="http://www.nbc.com"
    daylinks[30]="http://www.cbs.com"
    daylinks[31]="http://www.hotwired.com"

    var mydate=new Date()
    var today=mydate.getDate()
    </script>

    <a href="today.htm" onClick="window.location=daylinks[today];return false">Click here for today's featured site!</a>
Working...
X