stylesheet question

A

abcd

I have an asp page which has linked a stylesheet.

On the page I have <A> tag ...which has set for various colors...visitied,
hover etc....when I run the page once the link is visited it changes the
color thats working fine...but when I run the page again I need to have that
<A> link as a original link without visited color ...how can I do this
 
A

Aaron Bertrand [SQL Server MVP]

You would have to alter the browser's history for that, and you can't get
there from here. How about use onclick to change the className of the
anchor, then when you refresh it reverts to the original.
 
B

Bullschmidt

I don't think you can really trick things so that a visited link is
considered a visited link sometimes and an original link sometime later
unless you had all your users do something like Tools | Internet Options
| Clear History before coming to the page each time but of course that
wouldn't be too practical. :)

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

<<
I have an asp page which has linked a stylesheet.

On the page I have <A> tag ...which has set for various
colors...visitied,
hover etc....when I run the page once the link is visited it changes the
color thats working fine...but when I run the page again I need to have
that
 
D

Dave Anderson

abcd said:
On the page I have <A> tag ...which has set for various
colors...visitied, hover etc....when I run the page once the
link is visited it changes the color thats working fine...but
when I run the page again I need to have that <A> link as a
original link without visited color ...how can I do this

Wouldn't this do the trick?

<a href="AnotherPage.asp?<%=Session.SessionID%>"> ... </a>



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top