Click to See Complete Forum and Search --> : style of links


aquaarmourydavi
12-24-2002, 10:29 PM
I wasn't to sure of where to put this so i put it here.
you know how on a lot of pages if you click on a link it turns a different color. so when you come back to that page on your next visit, you know which links you have clicked on and which you haven't. Well how do you do the same thing but so that it only lasts for that persons visit, and when you come back to that page the next time, it has returned to its origional color?
any help would be greatly appreciated.:)

Stefan
12-24-2002, 11:29 PM
Originally posted by aquaarmourydavi
Well how do you do the same thing but so that it only lasts for that persons visit, and when you come back to that page the next time, it has returned to its origional color?


The simple answer is that you can't, becuse it's a user setting in their browser.

However theoretically you could cheat by adding random parts to your links I guess.
Alternativly use the same color for both visted and non visited links and use cookies to script another color for links visited this session.

In short, this is probably a lot more work to implement then it's worth.

jpmoriarty
12-25-2002, 04:30 AM
suggest you take a look here (http://forums.webdeveloper.com/showthread.php?s=&threadid=281) , but prepare to be dissapointed... don't think it can be done - maybe you could with flash though?

Klyve1
12-30-2002, 10:00 AM
theoretically you could cheat by adding random parts to your links I guess

What an excellent idea! This should work but only if the random part lasts for the session otherwise every time the page is loaded it will be 'un-visited'