1) Script Title: AnyLink JS Drop Down Menu v2.2
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm
Hello
I saw that a few other have asked this question as well but seem not to have followed through.
The menu works fine, but the text-color reverts to default if I'm on the drop down menu, soi I thought I can change this behavior in the anylinkmenu.css for the selectedanchor just with 'color. #6666'
However, this doesn't seem to work at all. The link behaviour should be as follow: Black as initial state, and on both hover/active when drop down menu is open, set to dark grey.Code:.selectedanchor{ /*CSS class that gets added to the currently selected anchor link (assuming it's a text link)*/ background: #ffffff; font-size: 11px; color: #666666; font-family: Arial, Helvetica, sans-serif; font-weight: bold; text-decoration: none; }
I'm working with two kinds of link behaviours on the same page, and the one that is attached to the menuanchorclass is this one:
This one's internal on every page, and that's what I'm trying to achieve, that, when I select links from within the drop down menu, the original link stays dark grey as well.Code:<style type="text/css"> .mainnavi { font-size: 11px; text-weight: normal; text-decoration: none; color: #000000; font-weight: bold; font-family: Arial, Helvetica, sans-serif; } a.mainnavi:link { font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; color: #000000} a.mainnavi:active { font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; color: #666666} a.mainnavi:visited { font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; color: #000000} a.mainnavi:hover { font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; color: #666666} </style>
Any help would be truly appreciated.
Bloch



Reply With Quote

Bookmarks