Monthly Archives: June 2009
Simple Time Select for Ruby On Rails Just Got Simpler
I added a start_hour and end_hour feature to my simple time select. Here are the details from the README:
Simple time select also takes a start_hour and end_hour option to be specified in military format (between 0-23).
<%= time_select "event", "time", { :default => Time.now.change(:hour => 21), :simple_time_select => true,
:minute_interval => 20, :time_separator => "", [...]
jQuery Rounded Corners with Rounded Borders with Set Width
Dave Methvin wrote a plugin for jQuery to easily round corners. Then Mike Alsup improved on the plugin by adding more effects. Mike’s solution for adding a rounded border is great but he doesn’t give good copy and paste code. I had to dig through the source on the page to figure [...]

Text inputs with rounded corners using jQuery (without image)