Web Analytics Made Easy -
StatCounter Modification of Every Day Script - CodingForum

Announcement

Collapse
No announcement yet.

Modification of Every Day Script

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

  • Modification of Every Day Script

    Is there an easy way to modify this script so it will repeat after 7 days? (sunday ------>saturday) instead of having to run for 31 days?
    I like the way it works, it's exactly what I need to save me some time, but it has to repeat , after day 7.
    Is this possible?
    Thescript I'm using is
    Here
    TIA for any help or recommendation.[
    Last edited by solyluna; Feb 13, 2004, 11:37 AM.

  • #2
    instead of 31 links try only 7

    Comment


    • #3
      That's the first thing I did. I hoped it was that easy....
      On day 8 I got a "page not found" error message.
      Right now I have set it up for all 31 days, just repeating the days of the week.
      So far the days and dates come our right - I'm playing a "wait and see" game as to what's gonna happen on March 1st.

      Comment


      • #4
        var today=mydate.getDate()
        change to
        var today=mydate.getDay()

        the array should go from 0-6.

        Comment


        • #5
          Garadon
          Thanks so much - If I wouldn't be so dense, I might have figured that out myself.
          That simple....

          Comment

          Working...
          X