Redbox, or a box overlay on rails no comments
As linked in the last digest, the Craig Ambrose’s Redbox is a Rails plugin inspired by Thickbox. It provides a way to show box overlaying your page.
Example:

script/plugin install http://www.tinboxsoftware.com/plugins/show/redbox/html {
height: 100%;
width: 100%;
}
body {
height: 100%;
width: 100%;
}<%= stylesheet_link_tag 'redbox' %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag 'redbox' %> display: none;.
<div id="hidden_content_login_admin"
style="display: none;"><%= link_to_remote_redbox <i>'link text'</i>, :url => {:controller => <i>'controllername'</i>, :action => <i>'actionname'</i>} %>That’s all, Redbox afford other ways to call box don’t hesitate to look at the demos.
When you install redbox, it copies css and javascript to the public folder. You can configure the CSS to modify the transparency of the overlay as you wish.
Hope this article would be helpful
Trackbacks
Use the following link to trackback from your own site:
http://www.rubynaut.net/articles/trackback/14168




