Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VLINK Color - Changing

Posted on 1998-12-20
3
Medium Priority
?
823 Views
Last Modified: 2012-08-13
My question is as follows:
I would like to know how to change the VLINK color of only one, out of a series of, hyperlinks.  The tricky part, at least i think, is that i would still like to change only the hyperlink clicked, reguardless if the links goto the same page.
EX:  Fun | Games | Sports
each one of those hyperlink to a bookmark on the same page.  Let's say the user clicks "Fun".  I would only like that link to change colors (VLINK) even though the others are on the same page.  Please help.
-Treason-
P.S - please forgive any spelling/grammer mistakes that i might have.
0
Comment
Question by:TrEaSoN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 200 total points
ID: 1840884
You could use CSS.  It would work in IE 4.x and NS 4.x only.
<HEAD>
<STYLE>
fun  {
     visited: red;
     }
notsofun {
         visited:blue;
         }
<STLYE>
</HEAD>

<A HREF="yourfile.htm#fun" CLASS="fun">Fun</A>
<A HREF="yourfile.htm#notsofun" CLASS="NotSoFun">Not So Fun</A>

this will make the Fun link turn red after a click and make Not So Fun turn blue after it is clicked
0
 

Author Comment

by:TrEaSoN
ID: 1840885
Okay, i get what your saying, but it doesn't seem to be working.  Please tell me if I am doing something wrong (the example is further down).
------------------

<html>
<head>
<title>Activities</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style type="text/css">
<!--
a { text-decoration: none }
a:hover { color: "#FF0000" }

L1 {
visited: red;
}
-->
</style>
</head>

<body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF">
<a href="activities2.htm#Age" CLASS="L1">For group age information please click here</a>
------------------
The link does not change to red, or do anything other than the default VLINK.
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1840886
sorry.  The CLASS doesn't work in NS.  I will see if I can come up with another way..
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question