-
Need some help with a Date/Clock script
I'm working on a site that pulls an external .js file that is named by the year (example 2005.js, 2006.js, etc). Whatever the current year is, is what file it pulls. I have the date displayed on my site, but it is not updated, per se. Once the page is loaded, that's it. It doesn't update again, until you refresh the page.
I would like to have the script refresh automatically. The external .js file contains a function that is strictly based on what day it is. If someone is looking at my site, and it rolls into the next day, I would like the script to automatically update. I tried modifying a script that I found on Dynamic Drive, but I couldn't get it working correctly.
Can someone please help me. I have attached my index page and external .js file for reference (also see link in signature for Current Site). Any help would be greatly appreciated.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks