473,322 Members | 1,307 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,322 software developers and data experts.

stylesheet question

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
Aug 22 '05 #1
4 1092
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" <ab**@abcd.com> wrote in message
news:%2******************@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

Aug 22 '05 #2
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


*** Sent via Developersdex http://www.developersdex.com ***
Aug 22 '05 #3
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
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


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

Aug 22 '05 #4
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.
Aug 22 '05 #5

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

Similar topics

3
by: Sarah Haskins | last post by:
I have a few questions about this problem I'm having involving XML, DTD, and XSL. I'm working with this DTD which defines a stylesheet, as such... <?xml version="1.0" encoding="UTF-8"?>...
1
by: Steven An | last post by:
I'm gonna describe the situation I'm dealing with..but if you're not interested, just skip to the last line where I bluntly ask my question :) Here's my scenario: I've got a huge website that...
6
by: Brian | last post by:
A question of minutiae: I will soon develop a site for a business. I hope to provide the client with enough knowledge about css and html that she can take it over when it's done and maintain it...
8
by: Ian Fitchet | last post by:
Hi, You'll excuse me if this has been answered before but I must have missed it on my travels: Is there a definitive style sheet with includes a definition for everything that a particular...
12
by: Tony Carnell | last post by:
Hi, Here's a conundrum that I hope someone out there can help me solve. I've created a page to XHTML 1.0 Transitional / CSS standards using Macromedia Dreamweaver MX 2004 (and validated both...
3
by: Jamie | last post by:
Hi, Thanks for the excellent answer to my last question! One more: Does anyone have a method they follow for organizing stylesheets themselves? They seem like they can get bloated and hard to...
5
by: David Trimboli | last post by:
I'm writing HTML 4.01 and CSS 2 pages that include a CSS-driven pop-up menu. What I'm trying to do is create a screen style that uses the menu, links, etc. normally, and a print style that removes...
3
by: Jam Pa | last post by:
Hi there javascript fiends If you had to return all 'font-size'-properties from a stylesheet, how would you do it? Or in more generic fashion, what kind of solution would you code for...
14
by: David Blickstein | last post by:
I have some XML documents that I want to open in a web browser and be automatically translated to HTML via XSLT. I'm using an xml-stylesheet processing command in a file called "girml.xml". ...
7
by: pintihar | last post by:
Hi, As a follow on from an earlier post I have another question about xslt. Is it possible to create the stylsheet programatically? Is this sensible? In the first phase I needed to map element...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.