![]() ![]() |
| 112233 |
Jun 5 2008, 12:02 PM
Post
#1
|
|
Group: Members Posts: 4 Joined: 29-May 08 Member No.: 5,782 |
Hello,
I have some question about browser history and cache. I have main.html as following: <iframe src="test.htm"></iframe> <a href="test.htm">link</a> I load http://..../main.html in different browser. In IE, it consider test.htm as not visited although it have been loaded in iframe. No matter how css is set, "link" always shows as not visited. Only after I visit http://..../test.htm, then I load http://..../main.htm again, "link" shows as visited. But in Firefox, it consider test.htm as visited, the first time I load http://..../main.htm, "link" shows as visited. I believe this has something to do with how IE and fiiefox deal with history or cache. I am wondering is there anyway to make "link" show as visited in IE? Thank you very much. |
| Darin McGrew |
Jun 5 2008, 12:54 PM
Post
#2
|
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 5,144 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
IIRC, MSIE updates link colors only when it refreshes the page. So if you're using links that don't change the page (which usually happens only with frames), then the link colors won't change after you click on the links.
-------------------- Darin McGrew
WDG Member since 1998 My involvement with the WDG is personal. The views I express here are mine alone and not those of my employer. |
| pandy |
Jun 5 2008, 01:26 PM
Post
#3
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 7,207 Joined: 9-August 06 Member No.: 6 |
It seems even odder. I tried. It doesn't help to refresh or revisit the framing page. It doesn't help to refresh the page in the frame. It doesn't help to close IE and visit the page with the iframe again. Only thing that seems to do the trick is to visit the framed page directly.
-------------------- “Never go to excess, but let moderation be your guide.”
– Cicero |
| 112233 |
Jun 5 2008, 01:41 PM
Post
#4
|
|
Group: Members Posts: 4 Joined: 29-May 08 Member No.: 5,782 |
Exactly. Only if I visit that test.htm directly, it will appear as visited.
Any idea about how to play a trick here to make IE think test.htm has been visited? Thanks. It seems even odder. I tried. It doesn't help to refresh or revisit the framing page. It doesn't help to refresh the page in the frame. It doesn't help to close IE and visit the page with the iframe again. Only thing that seems to do the trick is to visit the framed page directly. |
| pandy |
Jun 5 2008, 01:55 PM
Post
#5
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 7,207 Joined: 9-August 06 Member No.: 6 |
Can't think of anything less horrible than to open it in a popup. No idea how IE thinks. Never noticed this before.
-------------------- “Never go to excess, but let moderation be your guide.”
– Cicero |
| 112233 |
Jun 5 2008, 02:03 PM
Post
#6
|
|
Group: Members Posts: 4 Joined: 29-May 08 Member No.: 5,782 |
|
| pandy |
Jun 5 2008, 02:51 PM
Post
#7
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 7,207 Joined: 9-August 06 Member No.: 6 |
Hmm. Guess the page loads before the popup is fully loaded.
-------------------- “Never go to excess, but let moderation be your guide.”
– Cicero |
| Frederiek |
Jun 5 2008, 03:50 PM
Post
#8
|
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,799 Joined: 23-August 06 From: Europe Member No.: 9 |
How about this?
- http://www.colly.com/index.php?/weblog/com...links_reloaded/ - http://webdesign.maratz.com/lab/visited_links_styling/ -------------------- "The earth does not belong to Man, it is Man who belongs to the earth"
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st November 2009 - 06:16 AM |