473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

visited link...

RAB
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

Dec 20 '06 #1
28 2625
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.
It doesn't really matter what you want in this regard. That setting is
in the user's control, as it should be.

--
Berg
Dec 20 '06 #2
RAB
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

Dec 20 '06 #3
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.
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
Dec 20 '06 #4
Beauregard T. Shagnasty replied to hisself:
If your site is not visited
If your site is visited... got a not where there is not one desired.
<g>
--
-bts
-Motorcycles defy gravity; cars just suck
Dec 20 '06 #5
usenet = answering questions with snooty nonsense?

A better answer might be to look into adding some dynamic identifier to
your links with a scripting language? Or utililizing some sort of
session setting/ criteria.

i.e,

<pre>
<a href="./index.htmlexample 1 </a>
<br />
<a href="./index.html?123example 2 </a>
</pre>

Both links will load the same page- index.html. Both will appear as
unvisited on each load IF the numbers within the '?123' are randomly
created on page load say with javascript or php. The "page load" may be
an issue for you- so you may need to look into something like sessions
in php if it is important enough to your needs.

Hope that helps. If so, you can celebrate accomplishing the
'impossible'...

Now somebody can reply with: "You ignorant #@$$%- I said it was
impossible and I meant that...." "because this is CSS and you advised
PHP..." "bla blah blah".

P.S Op visit a php or javascript group for some help for this if you
still need it...

Dec 21 '06 #6
Scripsit sp**************@comcast.net:
usenet = answering questions with snooty nonsense?
You seem to wish to contribute to such developments. Posting anonymously
with a forged or forged-looking address is a good start. Not quoting or
paraphrasing when responding to something is a usual sign of cluelessness or
arrogance and fits into the plan.
A better answer might be to look into adding some dynamic identifier
to your links with a scripting language? Or utililizing some sort of
session setting/ criteria.
You can always create _new_ links on each visit to a page. This, however,
has nothing to do with CSS, and the OP requested a CSS solution by the
choice of posting to this group.

Besides, it does not make "the visited link to change to a 'fresh' never
been visited link" as requested. Au contraire, it implies that the link will
not be seen ever more. Of course it could point to the same address, just as
links named "foo" and "bar" may.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Dec 21 '06 #7
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.
Or you could set the visited color the same as the link color. That way,
for your site, all links look the same regardless of visited-ness.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Dec 21 '06 #8
Jim Moe wrote:
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.
Or you could set the visited color the same as the link color. That way,
for your site, all links look the same regardless of visited-ness.
Unless, of course, the user's browser is set to over-ride those settings.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Deja Moo: The feeling that you've heard this bull before.
Dec 21 '06 #9
>(some random thought process of some unnamed individual)
>>GASP- Someone didn't agree 100% with a fellow postaholic of mine- and expressed the >>opinion that responses were "snooty". I'll Show you....
I don't really wish to contribute to such developments- its unavoidable
due to the intellectual age of the discussion police who live here.

Perhaps you should be more diligent in communicating your address
requirements- I'd bet most of us didn't know they couldn't appear
forged or be anonymous! Hail the king.

How did you guess what I was referring to without the quotes? Or for
that matter why did you feel a need to respond exactly as predicted?

Clueless? Arrogant? Yeah, well your daddy is an alcoholic and your
mother is on welfare. I'm sure that was all very helpful to everyone.

I'm not saying you have sticks up your a$$es. Or telling you to get a
life. But maybe you could look up "snooty" and search your responses to
see if they could remotely be misconstrued as such. If it is
intentional, then more power- if you didn't realize- or if you disagree
then so be it. I could be wrong.

At least the OP can have his links appear as he wanted. I sent the
session example to you that takes care of the "reloaded page" issue.
Let me know if you have any problems.

P.S Prediction: I won't be reading the follow ups ("You top posting
sob..") (" Usenet etiquette dictates") ("Blah bla blech") as the
problem is solved thanks to all the great input from everyone. Its nice
to participate in an intellectual exchange where adults provide
friendly advice without taking it personally and lashing out if someone
has a different point of view or idea.


Jukka K. Korpela wrote:
Scripsit sp**************@comcast.net:
usenet = answering questions with snooty nonsense?

You seem to wish to contribute to such developments. Posting anonymously
with a forged or forged-looking address is a good start. Not quoting or
paraphrasing when responding to something is a usual sign of cluelessness or
arrogance and fits into the plan.
A better answer might be to look into adding some dynamic identifier
to your links with a scripting language? Or utililizing some sort of
session setting/ criteria.

You can always create _new_ links on each visit to a page. This, however,
has nothing to do with CSS, and the OP requested a CSS solution by the
choice of posting to this group.

Besides, it does not make "the visited link to change to a 'fresh' never
been visited link" as requested. Au contraire, it implies that the link will
not be seen ever more. Of course it could point to the same address, just as
links named "foo" and "bar" may.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Dec 21 '06 #10
>
I don't really wish to contribute to such developments- its unavoidable
due to the intellectual age of the discussion police who live here.
This newsgroup is the poster child of all that is wrong with Usenet, namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.

They berate posters who ask questions that suggest the project in question
may not fit with their single view of what is "right" on a webpage. Add to
that the absurd degree of ridicule for 'improper' posting etiquette and
you've got a garbage community. Did you catch the Jukka post where he
suggested he has grounds to sue a poster for copyright infringment because
someone left Jukka's entire post quoted in a reply rather than trimming it
down to use in a "fair use" context? No joke, he really did. And his
pompous attitude isn't the exception, it's closer to the rule. That's the
calibre of people we're looking at here. This attitude may, in fact,
represent a small % of posters to the group but it's the norm in a great %
of actual posts seen here.

There is knowledge in this newsgroup... but it's only shared in rare
instances where all criteria is met. Ask "what happens if you use px for
font-size: and em for letter-spacing?" and you'll get about ten replies.
None will answer the question. Instead it'll be a mixed, incoherent jumble
of how you're violating people's internet rights by fixed sizing a font and
how someone's 90 year old mother has trouble reading text that compressed or
extended, therefore you should feel stupid for daring to ask such a question
to the overseers of website design.

This group is good for scanning now and then, trying to sort out the useful
posts amongst the volume of crap and ridicule that dominates. There's little
point in contributing however. Find a CSS-based forum that knows how to
evolve a sense of community and contribute there - leave this cesspool to
the asshat usability trolls. Jump in every now and then to show support to
a newbie poster who's getting berated for making the mistake of looking for
assistance here.



Dec 21 '06 #11
In article <45***********************@news.sonic.net>,
"S.T." <an*******@anonymous.comwrote:
This newsgroup is the poster child of all that is wrong with Usenet, namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.

Did you catch the Jukka post where he
suggested he has grounds to sue a poster for copyright infringment because
someone left Jukka's entire post quoted in a reply rather than trimming it
down to use in a "fair use" context? No joke, he really did.
It is hard to believe this! Old K hardly ever makes a joke. It is
a very rare event, to be noted and framed. Here he is joking. And
it is not a bad sort of joke at all. You missed it because, for
one thing, you are not prepared to study the incredible larger
than life characters that form the core of this continuing play.

Would you stop watching a good play because some characters,
essential to the story, had flaws? No, you would not, you would
just go along with it and enjoy the ride. The most incredible
things happen.

--
dorayme
Dec 21 '06 #12
S.T. wrote:
This newsgroup is the poster child of all that is wrong with Usenet, namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.
Well, my comments are:

1. I want the information so I am willing to figure out the protocols of
the venue and adopt them for that sake
2. I like the diversion, strange, distorted, and infuriating (at any
given moment relative to my moods) it may be
3. It's like visiting a foreign land (or Earth, for the Martians among
us) and I really can't complain that "But! But! It is different from
what I'm used to!" or "... different from what I want! Waaaah! Waaah!"
Or, perhaps, it's like a "Pick Your Own" vegetable field: Some of
it's rotten, ignore it and move on to the ripe stuff and pick away. Or
go to the supermarket. Just stop wishing that life were different and
understand how it is. Or stop playing in the sandbox. (Ok, I think I
just went over the mixed-metaphor quotient. Sorry!)
4. I didn't, nor did you, invent Usenet. The traditions are
long-standing. Might not be your cup of tea but if you want to drink
from the pot, well, look up the ingredients.
5. On the other hand, if you're itching for a reason to be mad at the
world, and/or looking for an excuse to rant, hey! It's still a good
thing! Just don't expect the rest of us to humor you.
6. Let it go, life is too freaking short. If you're too young to grasp
this, that's ok, my gloating will come when you die younger than I do.
If you're as old, or older than I, my gloating will come when you die
younger than you should because you have used up all of your life's
quantity of calories and have become a small pile of self-immolated ash
that someone else will clean up and then post on your tombstone:

"He came, he carped, he worried. And then his stomach juices devoured
him from within."

Damn, I might have been on a roll there! ;-)

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
As the shopper placed her groceries on the checkout stand, the bagger
asked her paper or plastic? Doesn't matter, she replied, I'm bisackual.
Dec 22 '06 #13
S.T. wrote:
This newsgroup is the poster child of all that is wrong with Usenet, namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.
There are a few very helpful and quite genuine people here but
unfortunately in addition there are some who wish to put other down at
any available opportunity.

I must write that imho a good place for discussing CSS (which is, I
think the meat of web-page creation these days) is this CSS discussion
group:

<http://lists.css-discuss.org/mailman/listinfo/css-d>

The culture there is much better for those that are new to CSS and the
vibe is much healthier.

--
Patrick
Brighton, UK

<http://www.patrickjames.me.uk>

Dec 22 '06 #14
>This newsgroup is the poster child of all that is wrong with Usenet,
>namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.

Did you catch the Jukka post where he
suggested he has grounds to sue a poster for copyright infringment
because
someone left Jukka's entire post quoted in a reply rather than trimming
it
down to use in a "fair use" context? No joke, he really did.

It is hard to believe this! Old K hardly ever makes a joke. It is
a very rare event, to be noted and framed. Here he is joking. And
it is not a bad sort of joke at all. You missed it because, for
one thing, you are not prepared to study the incredible larger
than life characters that form the core of this continuing play.
Seriously, it wasn't a joke. Do a usenet-stalking search on Google Groups
for author:Jukka and "fair use"... it wasn't a joke. I'll be kind and say
he's perhaps eccentric, but a jokester he is not.
Would you stop watching a good play because some characters,
essential to the story, had flaws? No, you would not, you would
just go along with it and enjoy the ride. The most incredible
things happen.
I hear what you're saying, but even though it's usenet there's still a line
and it gets crossed far too often 'round these parts.
Dec 22 '06 #15
Scripsit dorayme:
"S.T." <an*******@anonymous.comwrote:
Please don't feed the trolls. In the old times, some trolls used to be
amusing. This new generation of trolls is just a crowd of vulgar cowards.
They try to avoid killfiling by using different forged addresses, but it's
usually rather easy to recognize them from the first few lines.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Dec 22 '06 #16
In article <rX*****************@reader1.news.saunalahti.fi> ,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit dorayme:
"S.T." <an*******@anonymous.comwrote:

Please don't feed the trolls. In the old times, some trolls used to be
amusing. This new generation of trolls is just a crowd of vulgar cowards.
They try to avoid killfiling by using different forged addresses, but it's
usually rather easy to recognize them from the first few lines.
It never occurred to me, I thought he was just another
earthling...

About forging, it has occurred to me to do this myself to enhance
my reputation with things like "Hey dorayme, you have transformed
my life, I have quit my antidepressants ..." and to, assist me in
defending against (or, indeed making) truly vicious and raving
attacks: having a whole lot of "supporters".

But I have shelved the idea because I don't know how to do it and
more importantly, so many people here seem to have vays and means
to detect it. And I have developed vays and means of settling
comfortably into killfiles. You should see some of them, there
are even xmas decorations at xmas. Bit sad but ... well it is a
home...

Merry Xmas to you anyway.

--
dorayme
Dec 22 '06 #17
In article <doraymeRidThis-65672F.09392622122006@news-
vip.optusnet.com.au>, do************@optusnet.com.au says...
In article <45***********************@news.sonic.net>,
"S.T." <an*******@anonymous.comwrote:
This newsgroup is the poster child of all that is wrong with Usenet, namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.

Did you catch the Jukka post where he
suggested he has grounds to sue a poster for copyright infringment because
someone left Jukka's entire post quoted in a reply rather than trimming it
down to use in a "fair use" context? No joke, he really did.

It is hard to believe this! Old K hardly ever makes a joke. It is
a very rare event, to be noted and framed. Here he is joking. And
it is not a bad sort of joke at all. You missed it because, for
one thing, you are not prepared to study the incredible larger
than life characters that form the core of this continuing play.

Would you stop watching a good play because some characters,
essential to the story, had flaws? No, you would not, you would
just go along with it and enjoy the ride. The most incredible
things happen.

I out-pedanted him once (in a thread in this group called "Preventing
italics text from hitting the next character").
I'm very proud of that.

--
Please visit -
Water saving tips: http://graspages.cjb.cc/bigdry/
Dec 23 '06 #18
In article <MP************************@news.aardvark.net.au >,
Joe (GKF) <jo********@yahoo.com.auwrote:
In article <doraymeRidThis-65672F.09392622122006@news-
vip.optusnet.com.au>, do************@optusnet.com.au says...
In article <45***********************@news.sonic.net>,
"S.T." <an*******@anonymous.comwrote:
This newsgroup is the poster child of all that is wrong with Usenet,
namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.
>
Did you catch the Jukka post where he
suggested he has grounds to sue a poster for copyright infringment
because
someone left Jukka's entire post quoted in a reply rather than trimming
it
down to use in a "fair use" context? No joke, he really did.
It is hard to believe this! Old K hardly ever makes a joke. It is
a very rare event, to be noted and framed. Here he is joking. And
it is not a bad sort of joke at all. You missed it because, for
one thing, you are not prepared to study the incredible larger
than life characters that form the core of this continuing play.

Would you stop watching a good play because some characters,
essential to the story, had flaws? No, you would not, you would
just go along with it and enjoy the ride. The most incredible
things happen.
I out-pedanted him once (in a thread in this group called "Preventing
italics text from hitting the next character").
I'm very proud of that.
And I am proud of you Farmer Joe. Proud indeed. Am on way with my
gang to spend a nice summer hol on your farm. I expect pigs
roasted, freely available 2 min showers and a ride on the old
tractor, with whisky on hand and a few songs and poems that pity
old K in the midst of a bleak northern European winter... but end
on a cheery note of drunken goodwill...

--
dorayme
Dec 23 '06 #19

dorayme wrote:
>
And I am proud of you Farmer Joe.
Well, you got it right this time.
>Proud indeed. Am on way with my
gang to spend a nice summer hol on your farm.
P.S. we'll talk about the Innocence Project later;

mk5000

"Cause this is my show and I won't let you go
All its been paid for, and it's mine
How could you look at me
And not see all the things"--beyonce, ring the alarm

Dec 23 '06 #20

marika wrote:
dorayme wrote:

And I am proud of you Farmer Joe.

Well, you got it right this time.
Yes It is about time for Crystalmas. You just need to find it.
Proud indeed. Am on way with my
gang to spend a nice summer hol on your farm.

P.S. we'll talk about the Innocence Project later;

I am not sure where yet though

Dec 23 '06 #21
In article <doraymeRidThis-CD955E.16512623122006@news-
vip.optusnet.com.au>, do************@optusnet.com.au says...
In article <MP************************@news.aardvark.net.au >,
Joe (GKF) <jo********@yahoo.com.auwrote:
In article <doraymeRidThis-65672F.09392622122006@news-
vip.optusnet.com.au>, do************@optusnet.com.au says...
In article <45***********************@news.sonic.net>,
"S.T." <an*******@anonymous.comwrote:
>
This newsgroup is the poster child of all that is wrong with Usenet,
namely
a vocal few displaying an ugly combination of arrogance and
narrow-mindedness.

Did you catch the Jukka post where he
suggested he has grounds to sue a poster for copyright infringment
because
someone left Jukka's entire post quoted in a reply rather than trimming
it
down to use in a "fair use" context? No joke, he really did.
>
It is hard to believe this! Old K hardly ever makes a joke. It is
a very rare event, to be noted and framed. Here he is joking. And
it is not a bad sort of joke at all. You missed it because, for
one thing, you are not prepared to study the incredible larger
than life characters that form the core of this continuing play.
>
Would you stop watching a good play because some characters,
essential to the story, had flaws? No, you would not, you would
just go along with it and enjoy the ride. The most incredible
things happen.
>
>
I out-pedanted him once (in a thread in this group called "Preventing
italics text from hitting the next character").
I'm very proud of that.

And I am proud of you Farmer Joe. Proud indeed. Am on way with my
gang to spend a nice summer hol on your farm. I expect pigs
roasted, freely available 2 min showers and a ride on the old
tractor, with whisky on hand and a few songs and poems that pity
old K in the midst of a bleak northern European winter... but end
on a cheery note of drunken goodwill...
Bewdy! I could use a hand with the picking and the cutting. No roast
pig, but we do a pretty good lamb roast. (Where are ya, Tom Cruise?)
I'll even let *drive* the old tractor!

--
Please visit -
Water saving tips: http://graspages.cjb.cc/bigdry/
Dec 24 '06 #22
In article <MP************************@news.aardvark.net.au >,
Joe (GKF) <jo********@yahoo.com.auwrote:
And I am proud of you Farmer Joe. Proud indeed. Am on way with my
gang to spend a nice summer hol on your farm. I expect pigs
roasted, freely available 2 min showers and a ride on the old
tractor, with whisky on hand and a few songs and poems that pity
old K in the midst of a bleak northern European winter... but end
on a cheery note of drunken goodwill...
Bewdy! I could use a hand with the picking and the cutting. No roast
pig, but we do a pretty good lamb roast. (Where are ya, Tom Cruise?)

I'll even let *drive* the old tractor!
You mean it is one of those "coin-operated" things like outside
supermarkets for kids? I have heard that you farmers are having
it tough and supplement income with stuff but this looks a bit
extreme!

--
dorayme
Dec 24 '06 #23
RAB wrote:
Nice answer...the tone demonstrated a lot of class...
He answered your question precisely and concisely. What's wrong with the
tone? Consider, though, the class demonstrated by someone who wants to
mislead his users into thinking they haven't already visited a page that
they have.
What setting is it?

If I know what setting it is, I may be able to change it
programatically.
You can't.
Dec 26 '06 #24

Harlan Messinger wrote:
>Consider, though, the class demonstrated by someone who wants to
mislead his users into thinking they haven't already visited a page that
they have.
Dynamic content?
What setting is it?

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

You can't.
He did?

Consider the fact that there may be logic not readily apparent to even
the most brilliant of positve thinkers!

Dec 28 '06 #25
sp**************@comcast.net wrote:
Harlan Messinger wrote:
>Consider, though, the class demonstrated by someone who wants to
mislead his users into thinking they haven't already visited a page that
they have.

Dynamic content?
If it's the kind of page that users would expect to have dynamic content
and it's of interest to them, they'll return to it despite the color of
the links. If they're browsing a site to see what it has on it, and
they're using the color cues to browse the site without revisiting the
same page, and yet they find that they keep visiting the same page
anyway, first from one page and then from another and then from another,
they'll think either that their browser's broken (because the link color
isn't changing) or that the site's owner is pulling a stunt, which isn't
exactly an incentive to stick around.
>
>>What setting is it?

If I know what setting it is, I may be able to change it
programatically.
You can't.

He did?
Huh?
Consider the fact that there may be logic not readily apparent to even
the most brilliant of positve thinkers!
If I leave my car for an oil change and I come back to find that the
mechanic thought I'd enjoy the neon bracket he fastened around my rear
license plate, I wouldn't be interested in his logic, I'd tell him he
had no business doing that and take it off right now.

Dec 28 '06 #26
same page, and yet they find that they keep visiting the same page
anyway, first from one page and then from another and then from another,
they'll think either that their browser's broken (because the link color
That isn't the behavior sought...read the original post.

He did?

Huh?
Accomplishing the stated goal has been repeatedly, erroneously referred
to as "impossible".
Yet, it was quite simple.
If I leave my car for an oil change and I come back to find that the
mechanic thought I'd enjoy the neon bracket he fastened around my rear
license plate, I wouldn't be interested in his logic, I'd tell him he
had no business doing that and take it off right now.
I don't need to touch your property here?

Perhaps the general idea that I can manipulate what you consider a
sacrilegious feature infuriates you. But the fact that it can be done,
inherently infers it is an option that a designer can choose if she so
wishes. Were not talking about abortion or gun control here, right?
Why does there have to be so much emotion injected into the discussion
when someone asks these types of questions? Good designers use hacks in
there CSS and HTML all the time. Look at as just another hack one can
use to meet a, in their view, for the given situation, desirable
affect. What's the difference? Hack popularity, thats all. Therefore
this "emotion" has nothing to do with the question "Can it be done?" or
"How to do it?". I think any time you read- "it is impossible" and "you
shouldn't do it- so please don't" in the same arguments it should be a
red flag as the two statements can't logically be accurate.
Turn the radio off.

Change the channel.

Saying its impossible to play Christian Rock is a lie.

Saying please don't discuss the bible all night because I'm agnostic is
a waste of time.

The answer is simple:

Don't visit http://used-a-hack-I-dont-like.com/

..

Dec 29 '06 #27
In article
<11*********************@n51g2000cwc.googlegroups. com>,
sp**************@comcast.net wrote:
Were not talking about abortion or gun control here, right?
Why does there have to be so much emotion injected into the discussion
when someone asks these types of questions?
I think your innocence is sweet. Using frames or JS or proudly
making fixed 1024px width sites is far far more emotional around
here than abortion, even personal nuclear weapons.

--
dorayme
Dec 29 '06 #28

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.

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
Jan 5 '07 #29

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matt Adams | last post by:
As well known I could specify the text color in the body tag like: <BODY TEXT=WHITE LINK=WHITE VLINK=RED ALINK=WHITE> What I want to achieve now is that always (!) the text of the last visited...
17
by: Rickard Lindhé | last post by:
Hey. I'm experiencing a problem using a css stylesheet on my homepage (http://w1.193.telia.com/~u19305515/test/testis.html). As you can see, the link works according to the stylesheet when not...
18
by: Jan Tuxen | last post by:
Jakob Nielsen in his most recent Alertbox (http://www.useit.com/alertbox/20040503.html) tells web authors to change the color of visited links. I agree to his purpose: Help users understand...
6
by: - jes | last post by:
Greetings. Using CSS, a programmer can set the color for an href link and a different color for a VISITED href link. Anyone know where this "list" of visited links is stored? Is it...
2
by: joeandtel | last post by:
Is there a way to check if a link has been visited using JavaScript? I have a table of data and the front of each row has a link to another page. Of course the browser knows if a link has been...
5
by: ~greg | last post by:
I have links on an index page like this: <a href="link" onclick="DoOnClick('link')"> page title </a> -where the DoOnClick("link") just adds a query part to the url before executing: ...
11
by: VK | last post by:
a:active { color: #FF0000; text-decoration: underline} /* a:visited color rule has higher priority over a:hover if viewed from your local drive, so visited links will not "hover". To fix this...
8
by: Jeff | last post by:
ASP.NET 2.0 I'm wondering how to set the color of a visited HyperLinkField (the link text) in a GridView?? Here is the markup of the HyperLinkField I have problems with: <asp:HyperLinkField...
3
by: friday13 | last post by:
Hi, I would like to set the link's "visited" pseudo-class with javascript without clicking on the link. My goal is to update the link's color (previously set in the CSS file) to be "visited"...
1
beacon
by: beacon | last post by:
I'm looking to reset the visited link color once another link is selected. Also, once that link takes me to a particular page, I want the font-weight for that page to be bold to indicate that it's...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.