For Programmers: Free Programming Magazines  


Home > Archive > ASP > August 2005 > stylesheet question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author stylesheet question
abcd

2005-08-22, 6:56 pm

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


Aaron Bertrand [SQL Server MVP]

2005-08-22, 6:56 pm

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.




"abcd" <abcd@abcd.com> wrote in message
news:%23J%23LjY0pFHA.3884@TK2MSFTNGP10.phx.gbl...
>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
>



Bullschmidt

2005-08-22, 6:56 pm

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
<A> link as a original link without visited color ...how can I do this[color=darkred]

*** Sent via Developersdex http://www.developersdex.com ***
abcd

2005-08-22, 6:56 pm

Thanks Paul and Aaron...Thats what my understanding was....

cheers !

Bullschmidt wrote:
> 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
>
> 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
> <A> link as a original link without visited color ...how can I do this
>
> *** Sent via Developersdex http://www.developersdex.com ***



Dave Anderson

2005-08-22, 6:56 pm

abcd wrote:
> 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.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com