Window Helper plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.planetargon.org/rails/plugins/window_helper/
If +:content+ contains a hash, it will be used as the arguments in a call to +render+. Otherwise, it will be passed directly to the dialog.
This will open a modal dialog containing a partial named form.
page.open_dialog :content => { :partial => 'form' }
This will open a modal dialog containing the specified text.
page.open_dialog :content => 'Hello!'
Note that it is up to you to provide your users a way to close the dialog!
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

