Results 1 to 2 of 2
Sep 18, 2002, 08:40 #1
- Join Date
- Sep 2002
- 0 Post(s)
- 0 Thread(s)
Need a specific link to load as active color
I am trying to figure out how to make a certain text link load in the active link color. What I'm doing is using frames to display different colors of product. In the right frame is the list of colors, and when clicked on, the image in the left frame changes to show the same product in a different color. What I need is to let users know which image is being shown when they first come to the page, so I would like that link to show in the active color when the page is first loaded and then change to a visited link when another link is clicked on.
Any ideas will be greatly appreciated.
Sep 18, 2002, 10:18 #2
CSS sub classes. I'm not particularly good at DHTML, but I know that you can re-define the 'a' tag and that you can also set sub classes of the tag, so that you can assign several different colours to it using 'a.class1', 'a.class2', etc.