search for: cp4_hex

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

2008 May 30
7
Styling an Anchor Tag With Prototype
I have a question: How do you style the various components of the anchor tag? I 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 ar...