Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vlink refresh 1

Status
Not open for further replies.

Whitemtntn

IS-IT--Management
Nov 6, 2000
161
US
I have a different color for vlink. Once a link is clicked on, it changes color. I want all of this to reset and start over once the browser is closed (go back to the "link" color. Thus far, I can't find a way to do this....the next time i visit the site, all the links I visited last time are still the vlink color.
Telling my users, "Just clear out your temporary internet files..." is not an option.
Any ideas? Thanks...
Whitemtntn
 
you can use your meta tags to set a refresh so that when the user hits the site again, their cache is refreshed and visited links will not show.

A sample is:<META http-equiv=&quot;Refresh&quot; content=&quot;300&quot;>

setting the content=&quot;300&quot; will change the amount of seconds the browser will refresh.

This will help in clearing the users visited links.

Hope this helped
 
Sorry, can't use this.....
<META http-equiv=&quot;Refresh&quot; content=&quot;300&quot;>

This command is the equivalent of pressing F5-refresh.
It doesn't work. Refreshing the page refreshes the content, but does not reset the links. What's next?
WhiteMtntn
 
I do not have that problem in using embeded CSS
a:hover{color:..; font-size..; font-family}
a:visited
a:active

hover won't work in IE however its main purpose is kept
 
If it won't work in IE then it won't work for me.
WhiteMtntn
 
my mistake it is the oposite

works very well in IE and opera
and not that good in NN

sorry about it

Henry
 
Whether a link has been &quot;visited&quot; or not is controlled by the browser, based in part on the browser's URL history. In IE there is an option that controls how long visited links are saved.
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
first in the head declare:
<style type=&quot;text/css>
then you need to decide on formating/style you want to apply to segment or segments of content or block or lines or even 1 word at a time and indeed to graphics
you will consider two areas one: head & two :body
in one: you may type the anchors code a we discussed earlier
type all rules(selector and declaration:property and value)
for ex h1{font-family:arial}
and in two: <h1> your content...</h1>
apply selectors such as
H1 h2 etc..
p class
p id
div class
span class

here are some good formating tools
body: <p class= anyname that please you>content</p>
in head: .anyname{font-size:20pix}

body: <p id= anyname(beware the ID is unique one tag at a time and cannot be utilized for 2 items, therefore change the name of ID to apply twice the rule if needed)> content</>
head:#anyname {bla bla bla}
in the 2 above cases respect in head the &quot; . &quot; and the &quot; # &quot;

body: <div class= anyname>content..</div>
head: .anyname {....}

body: <span class= anyname> content</span>
head:span.anyname{....} use span for one line or one word

the general idea is to be able to govern the whole document
out of one simple order
for ex you have along your doc a need for 5 dif segments to be given a similar bgd, you will create a div class per segment, give the same name to each div
type one line in head and you are in business for the whole doc
it's very powerful since you may change you whole formating out of editing only one head line

be advised that in line CSS will overwrite any previous head rules
which allow for even more flexibility
get used to it then learn imported link rel that will
give you the power of formating in one shot the whole site
add SSI and the sky the limit
have fun

Henry













 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top