This Rails plugin overrides the :confirm message of links to display inside of a ModalBox and adds some convenient rails logic and localization support
JavaScript Ruby
Pull request Compare This branch is 2 commits behind ctcherry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators/modalbox_install
lib
test
.gitignore
MIT-LICENSE
MODALBOX-LICENSE
README
Rakefile
init.rb
install.rb

README

modalbox_confirm Plugin
=======================

modalbox_confirm Plugin hooks into the default rails link_to helpers to implement ModalBox (a javascript message display library) when using a :confirm message

ModalBox website: http://www.wildbit.com/labs/modalbox/

INSTALL
=======

- Install this plugin
$ ruby script/plugin install git://github.com/ctcherry/modalbox_confirm.git

- Install the modalbox library
$ ruby script/generate modalbox_install

USAGE
=====

- On pages where you use confirm messages make sure you are using <%= javascript_include_tag :defaults %> and <%= stylesheet_link_tag 'modalbox.css' %>

- Any :confirm message you use is now replaced with the ModalBox



Copyright (c) 2008 Chris Cherry (ctcherry@gmail.com), released under the MIT license