search for: compound_nam

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

Did you mean: compound_name
2007 May 21
0
options_for_select and setting css class values
...'t figure it out by googling or via searching this board), so here goes... i''m using erb to make a select box with several hundred <option> values it looks something like this: <%= select_tag ''controls'', options_for_select(@controls.map {|cpd| ["#{cpd.compound_name}.....#{cpd.trimmed_number}"]}), {:class => ''superwide'', :size => 20} %> the above code works great...except for 1 thing. i''d like to cycle the color of every other <option> tag using css. obviously, i''d like to use the ''cycle'&...