|
| |
|
|
sourkrouse
Posts: 28 Joined: 10/13/2007 Status: offline
|
Set style to expire after X number of days - 7/16/2008 16:27:19
Hello, We use yellow highlighting to indicate a change in text on the proccedure. I wonder if there is something in CSS where I could set the yellow highlighting to expire after 7 days. or maybe Javascript? I guess it would have to know when I applied the yellow highlight because I may highlight #5 as changed this month and then next month #6 will change. Hopefully this makes sense, any ideas are appreciated! Thank you.
|
|
|
|
mtfm
Posts: 424 Joined: 1/13/2006 From: Mesa, AZ Status: offline
|
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).
_____________________________
Is this possible? How about this? What about....?
|
|
|
|
sourkrouse
Posts: 28 Joined: 10/13/2007 Status: offline
|
RE: Set style to expire after X number of days - 7/17/2008 20:36:10
Thanks to all. I got sidetracked with another project so I'll have to sit on this for awhile. We use RoboInfo 5 with no ETA on replacement software. It's not "friendly" with anything, especially ASP so not a lot of options. I was trying to eliminate about an hour each week of going back inot each project and removing the yellow highlight from all the new stuff previous, it's just very tedious. Thanks for the suggestions. I will root around a bit. Any development software ideas you have are appreciated. Our content is mostly documented best practices/procedures and product information. We are looking into MadCap Flare.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|