Jump to content

Reset link state


ferren

Recommended Posts

Styling the link to indicate its state (link, hover, active, visited) is sometimes useful. However, 'visited' appears to be remembered. Is there a way to reset it to 'unvisited'? Reloading the file and browser does not do this, but I feel a need for 'visited today' vs 'visited last month', and haven't found a way to indicate this.

Link to comment
Share on other sites

If you want to have variable visited values based on anything other than browser history you will need to use cookies;and the best you can hope for is that it will be semi-reliable.

Link to comment
Share on other sites

Local storage is less efficient, and still has the problem that the user has to enable it. Plus it is a real klug to work with.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...