|
mtfm -> RE: Set style to expire after X number of days (7/16/2008 17:15:42)
|
Just googling,the following page came up... http://www.javascriptkit.com/script/script2/newimage.shtml But, let mwe tell you what I did-- it's not exactly the same, but what I do is I have 12 pages set up, one for each month. In January, you click the "new this month" button and it takes you to January's page. In Feb, you go to Feb's page. etc. And I have a "new last month" page too, so that the last full month and the current month are always linked. I did what I did for a specific reason--- while you can do exactly what you said, it requires a change in the code every 7 days (or however often you want to change it.). eg you can tell it to highlight a certain paragraph for 7 days, but then 7 days comes and goes, it is no longer highlighted and nothing else happens. Then your code gets really cluttered up with this useless stuff that doesn't do anything anymore. (unless you go in and manually clean it up, of course, which I think is a pain when you can have something automated).
|
|
|
|