This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Victor Jalencas (author)
Fri Sep 19 08:44:50 -0700 2008
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README | Sat Apr 01 17:26:31 -0800 2006 | [technoweenie] |
| |
init.rb | Sat Apr 01 17:26:31 -0800 2006 | [technoweenie] |
| |
install.rb | Sat Apr 01 17:26:31 -0800 2006 | [technoweenie] |
| |
javascripts/ | Sat Sep 09 07:00:50 -0700 2006 | [technoweenie] |
| |
lib/ | Sat Apr 01 17:26:31 -0800 2006 | [technoweenie] |
| |
tasks/ | Sat Apr 01 17:26:31 -0800 2006 | [technoweenie] |
| |
test/ | Sat Apr 01 17:26:31 -0800 2006 | [technoweenie] |
README
DIALOG HELPER Dialog is a simple script for displaying styled dialog windows in browsers. It builds on the excellent Prototype and Scriptaculous libraries. The look and feel is CSS driven, and it's easy to create your own custom dialogs. Be sure to include dialog.js and add the appropriate styles. Project Page - http://weblog.techno-weenie.net/projects/dialog Javascript Subversion Location - http://techno-weenie.net/svn/projects/javascripts/dialog Rails Helper Plugin - http://techno-weenie.net/svn/projects/plugins/dialog_helper If install.rb did not copy the latest dialog.js, use the rake task: rake update_dialog_helper Here are some examples from the docs: <%= create_dialog(:confirm, :message => 'Are you sure?', :okay_test => 'Sure!', :on_okay => "function() { alert('whoa'); }") %> new Dialog.Confirm({message:'Are you sure?', okayTest:'Sure!', onOkay:function() { alert('whoa'); }}); <%= link_to_dialog('Open', {:confirm, :message => 'Are you sure?', :on_okay => "function() { alert('whoa'); }"}, {:title => 'Click to open dialog'}) %> <a href="#" title="Click to open dialog" onclick="new Dialog.Confirm({message:'Are you sure?', onOkay:function() { alert('whoa'); }});; return false;"> Open </a>





