Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32
Visited Links Color Won't Change In Menu
Poster: chbrandt
Dated: Monday April 19 2004 - 8:06:21 BST
I am having trouble with the color of visited links in my menu. I looked around and found the command Visited-Color: and put that in all of my CSS tags, and still the color remains black, even though I specified it to be white.
I am using
visited-color: #ffffff;
in my menu.css file. http://www.pbhs2004.com/index1.htm then go to Misc>Class Members. After you visit class members, go back to index1.htm, then to class members again, the Misc is in black text, not white.
I have also added visitedcolor="#ffffff"; to my menu_data.js file.
If anyone could help or point me in the right direction it would be greatly appreciated. Maybe there is another place to change it or I'm just doing something wrong?
Thanks,
Chris
Any Ideas?
Poster: chbrandt
Dated: Thursday April 22 2004 - 8:15:39 BST
Does anyone have an idea that I can just try? Thanks
http://www.pbhs2004.com/
Chris
Poster: Maz
Dated: Thursday April 22 2004 - 11:46:53 BST
There is no hyphen
visitedcolor=
http://www.milonic.com/styleproperties.php
maz
Poster: fredlongworthhighschool
Dated: Thursday April 22 2004 - 13:51:00 BST
I added
Code:
visitedcolor="green";
to my menu_data.js in the style definition section and it worked for me. Although a number of links that I had been to previously were already green!
Still Having Problems...
Poster: chbrandt
Dated: Friday April 23 2004 - 7:02:07 BST
Alright...this is gettin really weird. Check out what I did, I made everything in menu_data.js "ffffff", so everything appears white on index1.htm. The same coding is being used on classmembers.htm, but it comes up with the Misc in black text. I made another html page called classmembers2.htm and it worked correctly, but when I renamed it to classmembers.htm, the Misc started showing up in black again, so it has to be something in the code that has to do with Misc and not really just the visited link, but like the visited menu heading..I dunno what to call it. Check it out, I really dont understand. Please look at my code and help me out.
http://www.pbhs2004.com/milonic/menu_data.js
http://www.pbhs2004.com/index1.htm - works correctly
http://www.pbhs2004.com/classmembers.htm - page not working
Thanks again
Chris
chbrandt __at__ tcmax.net
Poster: Maz
Dated: Friday April 23 2004 - 16:38:38 BST
Does it also occur if you are on pages: Reunion and Pictures too?
I've wondered about this myself, I've seen this occur when there is no url in the menu item, only showmenu.
maz
Poster: kevin3442
Dated: Friday April 23 2004 - 16:55:14 BST
Hi Chris,
Just taking a cursory look, at least part of the problem is the presence of pagecolor and pagebgcolor in your menuStyle... pagebgcolor is set to white right now, but pagecolor is set to black... which is why the "Misc" item in your test is black. Apparently, the pagecolor property takes precedence over the visitedcolor property. I'd suggest removing pagecolor (and pagebgcolor if you aren't using it) from your style, and see if that takes care of it.
Hope that helps,
Kevin
Wow...thank you so much!
Poster: chbrandt
Dated: Saturday April 24 2004 - 7:57:16 BST
Thanks a lot, thats what the problem was! Woulda never figured that out tho!
Chris