visited

Is it possible to set a style of link that shows only when the linked webpage is being viewed?

Hi, I got a problem like this (this is html/css menu): Eshop | Another eshop | Another eshop Client wants it work like this: User comes to website, clicks on Eshop. Eshop changes to red color with red box outline. User decides to visit Another eshop, so Eshop will go back to normaln color without red box outline, and another eshop wi...

Linked Image Border Styles

I want to be able to link my image. Click on it. Go back to the page and see that it was visited. I want my visited images to have a different color border when I go back. My code: a:link img{border-color:#FFF; border-style:solid; border-width:1px;} a:hover img{border-color:#03F; border-style:solid; border-width:1px;} a:visited img, a:...

a:visited doesn't work in Mozilla Firefox

I have created a link and when I try to set the style; a:visited { text-decoration: underline; color: #FF0000; } It doesnt seem to work. It works fine in IE. I have also followed the order; link, visited, hover, active. Is this a known issue, or am I making any mistake? ...

How do I style link menus for filtering like the 'Dean + Friends' 'Just Dean' 'Just Friends' one on Facebook?

Several pages on our e-commerce web app allow users to filter a status list of requests they've submitted to us. The filters are usually something like: All Pending Completed We have them set up as links. We'd like to style them so that the currently active filter is highlighted with a colored rectangle (w/rounded corners, natch!...

After visiting links, Firefox selectively skips state change or a:visited styling

After clicking a link with a common href (local page or web-site) and the href is successfully loaded, both FF2 and IE7 will display the link with a:visited styling. For links with href="javascript:anyfunc()", IE7 works as above while FF2 does not display a:visited styling. No change with any DOCTYPE. Q: Is either behaviour with JS li...

Altering href with jQuery no longer triggers a:visited style

My SharePoint site needs to preserve the a:visited style defined in CSS for links. I added the following code, which appends "&Source=/" to each href. It seems that by changing the href via jQuery, the browser only "sees" the original href and therefore never triggers the a:visited style as there's no match... $("table[class...

How to check visited link using jquery without using any plugin

How to check visited link using jquery without using any plugin please help to solve this problem ...

Set visited link color to whatever the color of un-visited link is (P.S. not the usual question)

I need to set the a:visited CSS to whatever color the normal a is set to. What I want to be able to tell the browser is, for the visited links, use the same color as the unvisited links, whatever color it is. I need to do this without specifying a particular color. Like, if some weird browser comes along that uses "green" as the color...

Jquery: mark links as visited without opening them?

I have no intention of just altering the link (I hear that's impossible, but if it's not I'd love to know how). I'm fine with adding it to the the browser history if that needs to be done. I'd like to loop through all <a>'s on a page and change their state to visited. For example: $("a").each(function(){ //mark as visited (somehow?)...

Manage a `visited` links history in browsers

Hello Can I edit the browser's visited links history? How can I dump full list of visited sites, or list of pages from some site? I'm interested in the solution for the most popular browsers: IE7-8, Firefox3, Safari4, Chrome3, Opera9.50+ The best will be solution, which can be scripted in JS+CSS. But plugins or instructions for manag...

Can I use the CSS :visited pseudo class on 'wildcard' links?

Let's say I have a site with multiple links as follows: www.example.com/product/1 www.example.com/product/2 www.example.com/product/3 I also append tracking info to links from time to time so that I can see how my site is being used, e.g, if somebody visits the products page from the product browser I would set a ref parameter: www.e...

IE7 - visited links revert to unvisted after page refresh

Hello, A number of our users have just upgraded from IE6 to IE7. the upgreaded users are reporting an issue with visited links reverting to their unvisited color after a page refresh. This only happens to links that are using javascript instead of a hard coded URL: <script lang="JavaScript"> <!-- function LoadGoogle() { var LoadGo...

Safari's never-ending loading message when an iframe does not have a src

I'm using @rem's jQuery :visited plugin to do something with visited links on a page. The plugin works by creating an invisible iframe, injecting the HTML source, and comparing the colour of links to see which have been visited. It works perfectly. The problem I have is that on Safari, the status bar message always hangs on "Loading (X-...

setting a url as visited

hello, I have a <a href="my_redirect_page.php?link=mylink">my_text</a> link on my page, and the following line in my_redirect_page.php: header("Location: ".$mylink); but after the redirection, if I click on back in my browser, the "my_text" for the link does not appear as visited (in purple, instead of blue). How do I work arou...

Google chrome a:visited background image not working

(before I start I should say yes, I have done all the stupidity checks, yes the link is in my history and has been visited etc) I'm using Chrome version 6.0.472.63, although it's important that this works on all browsers. It works on Firefox, IE and Opera. Basically all i'm trying to do is change the background image of a link if the ...

last visited link

I have 2 domain names on second domain name I want to check last visited link. for eg. on 1st domain name contact us link is given when user click on it, it takes him to second domain name. now how will I know which link is clicked. ...