View Full Version : Target last modified
murphyz
12-10-2002, 08:34 PM
I have a script attached that tells me when the target of a link was last modified so I can tell if I need to go and read the site or not.
At the moment the information for the time of the update is shown in the status bar and I would prefer it if the links would actually change colour, say to red, whenever the target page has updated instead of my having to mouseover and view the status bar.
Any ideas?
Thanks
Mxx
murphyz
12-10-2002, 08:35 PM
and the attachment didn't work :( try again, sorry
Mxx
jalarie
12-11-2002, 01:21 PM
I've found a way to do it for sites in my own domain, but JavaScript forbids access beyond that point. :(
murphyz
12-11-2002, 01:52 PM
Thanks jalarie
I've got the script to work for domains outwith mine, it's just the output that I need changed. I don't know the script to change it from giving me the window.status output, to simply changing the colour of the link instead.
Anyone any ideas?
Mxx
jalarie
12-11-2002, 02:07 PM
Think again. While your script seems to work in IE 6, it does nothing (for me, at least) in Netscape 7, and produces the null result (December 31, 1970, 7:00pm EST) in Netscape 4.8.
murphyz
12-11-2002, 03:08 PM
That's quite alright though as it's for personal use and I'm using IE.
The page will consist of links to online blogs that I read on a daily basis and I just want it to highlight the link if the target has updated since the last time I went to the page. I have it so the status bar says the time of the last update, I just want to go that one step further.
Thanks again
Mxx
jalarie
12-11-2002, 03:13 PM
Does that mean that you want cookies to store when you last went to each page? Or would you be happy if it would just display the date when it was last changed as part of the target?
murphyz
12-11-2002, 03:35 PM
I think a little cookie action might be needed - but I am clueless in that area.
I would like for it to compare when the site was last updated, with when the last time I went to my links page was and if their was an update in between the link should change colour.
Is that possible or asking too much?
Thanks
Mxx
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.