SitePoint Sponsor

User Tag List

Results 1 to 12 of 12

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    May 2006
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My setTimeout isn't executing.

    Hello, where does the setTimeout in this go please, where I have it isn't changing to the next text link automatically and I don't know of a better place to put it. This sees what day of the year it is and shows the text link for today. But its supposed to change to the next item automatically on the next day before you on the hour, but its only changing on page refresh. Please let me know what I am doing wrong, thanks very much.

    Code:
    function links() {
    a( 196, "http://www.google.com","testlink"); 
    a( 197, "http://www.google.com","testlink2"); 
    a( 198, "http://www.google.com","testlink3"); 
    }
    bad news, don't follow this.
    }
    Last edited by 1Jen; Jul 23, 2007 at 22:37.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •