Welcome to WebmasterWorld Guest from 3.93.74.227

Forum Moderators: open

Message Too Old, No Replies

Firefox: link targeting iframe visited status

     
10:05 am on Aug 14, 2005 (gmt 0)

New User

10+ Year Member

joined:Oct 1, 2004
posts:28
votes: 0


Hello,

I have a page with an iframe and a number of links which target this iframe. I have styled the links so they have a different color background when visited. In Firefox however I have noticed the 'visited' status doesn't show up until the main page is refreshed. IE and Safari work fine and show the 'visited' color immediately. Here's the relevant css:

a,a:link{
color:#000;
text-decoration:none;
}
a:visited{
background-color:#F30;
}
a:hover{
background-color:#0F0;
}
a:active{
background-color:#F30
}

and the link looks like this:
<a href="http://......" target="i_frm" onFocus="blur()">

Thanks a lot if you could help!

12:19 pm on Aug 14, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Nov 18, 2003
posts:202
votes: 0


It looks like an old bug -- #78510 -- and it's been partially fixed in Deer Park Alpha. Reading through the comments, it looks like it was quite hard to do, and might have caused a few regressions. Assuming that it stays in, expect the fix to show up in the next public version of Firefox.

Firefox / Gecko is a big code-base, and it's full of little oddities like this (like the FavIcon issues). The developers have to prioritize their time, so small bugs don't get much attention unless they irritate someone who's capable of fixing them.

[bugzilla.mozilla.org...]

12:55 pm on Aug 14, 2005 (gmt 0)

New User

10+ Year Member

joined:Oct 1, 2004
posts:28
votes: 0


Thanks for your post, that definately sounds like the bug. It was very interesting to read the report, best of luck to the Mozilla team for Deer Park!

I suppose for the meantime I could set the background style with javascript.

All the best!