By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,481 Members | 1,713 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,481 IT Pros & Developers. It's quick & easy.

color change

P: n/a
I have a page I am trying to fix for my friend:

http://www.aynrandstheofknowledge.co...a/justice.html

It has text with references to footnotes.

We would like to "visited" tags to change color as soon as a link is
clicked on. Now, and not wait for a browser reload.

Click a link, visit the footnote, click back and the link to the
footnote is now a new color.

Can anyone help with a script that accomplishes this??

TIA

Scott

Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
In article <gN********************@mminternet.net>,
sc***@amazonreptiles.spamsux.com enlightened us with...
Click a link, visit the footnote, click back and the link to the
footnote is now a new color.

Can anyone help with a script that accomplishes this??


For browsers with style only. Will work in NN6+ and IE5+. Check other
browsers if necessary.

<A onClick="if (this.style) this.style.color='#FF0000';">Open Link</A>

--
--
~kaeli~
Once you've seen one shopping center, you've seen a mall.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2

P: n/a
kaeli wrote:
In article <gN********************@mminternet.net>,
sc***@amazonreptiles.spamsux.com enlightened us with...
Click a link, visit the footnote, click back and the link to the
footnote is now a new color.

Can anyone help with a script that accomplishes this??

For browsers with style only. Will work in NN6+ and IE5+. Check other
browsers if necessary.

<A onClick="if (this.style) this.style.color='#FF0000';">Open Link</A>

It'll look like a link but it doesn't say where to link too.

Jul 20 '05 #3

P: n/a
In article <xb********************@mminternet.net>,
sc***@amazonreptiles.spamsux.com enlightened us with...

For browsers with style only. Will work in NN6+ and IE5+. Check other
browsers if necessary.

<A onClick="if (this.style) this.style.color='#FF0000';">Open Link</A>

It'll look like a link but it doesn't say where to link too.


That's because it is an example with no href to show you the onClick.

--
--
~kaeli~
Why did kamikaze pilots wear helmets?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #4

P: n/a
kaeli wrote:
In article <xb********************@mminternet.net>,
sc***@amazonreptiles.spamsux.com enlightened us with...
For browsers with style only. Will work in NN6+ and IE5+. Check other
browsers if necessary.

<A onClick="if (this.style) this.style.color='#FF0000';">Open Link</A>


It'll look like a link but it doesn't say where to link too.

That's because it is an example with no href to show you the onClick.


LOL, oops. I figgered it out.

Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.