Plugins - Window Helper

StarAdd to favorites

Opens a modal dialog containing the specified content. 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!

Planet Argon

http://www.planetargon.org/trac/browser/rails/plugins/window_helper

Rails' (MIT)

  • Currently 2.6/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

View Extensions

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?