search for: cp5_hex

Displaying 1 result from an estimated 1 matches for "cp5_hex".

2008 May 30
7
Styling an Anchor Tag With Prototype
...am doing it this way: $$(''a:link,a:visited'').each(function(link){ //links link.setStyle({ color: ''#''+$F(''cp4_Hex'') }); }); $$(''a:hover'').each(function(link){ //links link.setStyle({ color: ''#''+$F(''cp5_Hex'') }); }); And it kind of works--I see a style change--but even though I declare the a:hover, a:link, or what have you, all the anchor tags are given the last color, in this case, :hover. How does one do this correctly? Amiri --~--~---------~--~----~------------~-------~--~----~ You rec...