Displaying 2 results from an estimated 2 matches for "superwide".
Did you mean:
supersede
2007 Jan 12
2
Best graphviz settings
So,
Anyone playing with the graph files yet? Just wondering if anyone has
discovered a really good set of parameters to pass to dot to get the best
looking graphs (OmniGraffle looks nice but I don''t want to pay for anything
and want a way to generate graphics from the command-line).
-- DK
2007 May 21
0
options_for_select and setting css class values
......
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'' function, but how/where do i
get options_for_select to accept a val...