Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 206
- Log:
Initial import of Gullery, an open source photo gallery:
http://nubyonrails.com/pages/gullery
- Author:
- rool
- Date:
- Sun May 20 19:05:59 +0100 2007
- Size:
- 1307 Bytes
1 | DIALOG HELPER |
2 | |
3 | Dialog is a simple script for displaying styled dialog windows in browsers. It builds on the excellent Prototype and |
4 | Scriptaculous libraries. The look and feel is CSS driven, and it's easy to create your own custom dialogs. |
5 | Be sure to include dialog.js and add the appropriate styles. |
6 | |
7 | Project Page - http://weblog.techno-weenie.net/projects/dialog |
8 | Javascript Subversion Location - http://techno-weenie.net/svn/projects/javascripts/dialog |
9 | Rails Helper Plugin - http://techno-weenie.net/svn/projects/plugins/dialog_helper |
10 | |
11 | If install.rb did not copy the latest dialog.js, use the rake task: |
12 | |
13 | rake update_dialog_helper |
14 | |
15 | Here are some examples from the docs: |
16 | |
17 | <%= create_dialog(:confirm, |
18 | :message => 'Are you sure?', |
19 | :okay_test => 'Sure!', |
20 | :on_okay => "function() { alert('whoa'); }") %> |
21 | |
22 | new Dialog.Confirm({message:'Are you sure?', okayTest:'Sure!', onOkay:function() { alert('whoa'); }}); |
23 | |
24 | <%= link_to_dialog('Open', {:confirm, |
25 | :message => 'Are you sure?', |
26 | :on_okay => "function() { alert('whoa'); }"}, |
27 | {:title => 'Click to open dialog'}) %> |
28 | |
29 | <a href="#" title="Click to open dialog" |
30 | onclick="new Dialog.Confirm({message:'Are you sure?', onOkay:function() { alert('whoa'); }});; return false;"> |
31 | Open |
32 | </a> |