问题描述
当我的用户关闭浏览器时,我希望访问过的链接更改为
" 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
推荐答案
在这方面你想要什么并不重要。用户控制的设置是
,应该如此。
-
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
简洁,不是吗?但非常正确。 (为什么人们认为简洁,简单的答案是有争议的?)
Succinct, wasn''t it? But very true. (Why do people think a succinct,
concise answer is argumentative?)
这是访问者''浏览器'的历史记录/缓存/天数设置。如果
您的网站在该天数内未被访问,您的链接将显示
访问。
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.
不太可能;你不能编程我的浏览器设置。保存你的
一口气。
最后:欢迎来到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
这篇关于访问链接...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!