访问链接... [英] visited link...

查看:59
本文介绍了访问链接...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的用户关闭浏览器时,我希望访问过的链接更改为

" fresh"用户(在同一台机器上)从未被访问链接

重新打开浏览器。


这是我正在使用的代码:


/ * buttons.css * /

body {font-family:Verdana,sans-serif;

color:black;背景颜色:白色; }

h1 {color:navy; }

.navbar a:link,.navbar a:visited

{font:bold 12pt Verdana,sans-serif;

padding:0.5 EM;保证金:0.5em;

显示:块; text-decoration:none;

background:url(" pics \button.gif")transparent 50%50%

no-repeat; }

.navbar a:link {color:yellow; }

.navbar a:visited {color:lime; }

.navbar a:hover,.navbar a:focus

{background-image:url(" pics \button_yellow.gif");

颜色:黑色; }

.navbar a:hover:visited,.navbar a:focus:visited

{background-image:url(" pics\button_green.gif");

颜色:黑色; }


我怎么能这样做?


谢谢,

RABMissouri2006

When my user closes the browser, I want the visited link to change to a
"fresh" never been visited link once the user (on the same machine)
reopens their browser.

Here is the code I am using:

/* buttons.css */
body { font-family: Verdana, sans-serif;
color: black; background-color: white; }
h1 { color: navy; }
.navbar a:link, .navbar a:visited
{ font: bold 12pt Verdana, sans-serif;
padding: 0.5em; margin: 0.5em;
display: block; text-decoration: none;
background: url("pics\button.gif") transparent 50% 50%
no-repeat; }
.navbar a:link { color: yellow; }
.navbar a:visited { color: lime; }
.navbar a:hover, .navbar a:focus
{ background-image: url("pics\button_yellow.gif");
color: black; }
.navbar a:hover:visited, .navbar a:focus:visited
{ background-image: url("pics\button_green.gif");
color: black; }

How could I do this?

Thanks,
RABMissouri2006

推荐答案

RAB写道:
RAB wrote:

当我的用户关闭浏览器时,我希望访问的链接发生变化到一个

新鲜用户(在同一台机器上)从未被访问链接

重新打开他们的浏览器。
When my user closes the browser, I want the visited link to change to a
"fresh" never been visited link once the user (on the same machine)
reopens their browser.



在这方面你想要什么并不重要。用户控制的设置是

,应该如此。


-

Berg

It doesn''t really matter what you want in this regard. That setting is
in the user''s control, as it should be.

--
Berg


很好的回答......语气证明了很多课......


这是什么设置?


如果我知道它是什么设置,我可能会以编程方式更改它




谢谢,

RABMissouri

Nice answer...the tone demonstrated a lot of class...

What setting is it?

If I know what setting it is, I may be able to change it
programatically.

Thanks,
RABMissouri


RAB写道:
RAB wrote:

不错的答案......语气证明了很多课......
Nice answer...the tone demonstrated a lot of class...



简洁,不是吗?但非常正确。 (为什么人们认为简洁,简单的答案是有争议的?)

Succinct, wasn''t it? But very true. (Why do people think a succinct,
concise answer is argumentative?)


它的设置是什么?
What setting is it?



这是访问者''浏览器'的历史记录/缓存/天数设置。如果

您的网站在该天数内未被访问,您的链接将显示

访问。

It is the visitors'' browsers'' history/cache/number of days setting. If
your site is not visited within that number of days, your link will show
as visited.


如果我知道它是什么设置,我可以以编程方式更改它


If I know what setting it is, I may be able to change it
programatically.



不太可能;你不能编程我的浏览器设置。保存你的

一口气。


最后:欢迎来到Usenet! < lol>


-

-bts

-Motorcycles无视重力;汽车只是吮吸

Not very likely; you can''t program my browser settings. Save your
breath.

And finally: "Welcome to Usenet!" <lol>

--
-bts
-Motorcycles defy gravity; cars just suck


这篇关于访问链接...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆