search for: home_buttons

Displaying 2 results from an estimated 2 matches for "home_buttons".

2006 Apr 05
1
New AJAX function: remote_replace_with_partial() <-- write less code
I hate writing controller actions that support simple lightweight ajax calls like this: def show_buttons render :partial => "home_buttons" end So the birth of remote_replace_with_partial Now you can replace a div elements with any controllers partials and pass those partials any number of params without having to write supportive actions in your controllers. This is a great tool for UI changes on the fly and cancel button...
2006 Jan 02
3
best to integrate dynamic navbar into layout
I''ve been trying to come up with a good way to integrate a dynamic navbar into my layout. By dynamic, I meas that each link has 3 images. Normal, rollover, and dark for the current page. I have it working but it seems like there should be a better way. Here is how I did it, please let me know if there is a better way. Rails makes so many things simple, that this seems very