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 (
commit ef7686c1415b0cf7f178f00b3e40c86f66aad8a6
tree 8844d006ae98f234acd82928160e01d71a99bb70
parent 9d738232b6a205fbf73559fba19f76b400b043af
tree 8844d006ae98f234acd82928160e01d71a99bb70
parent 9d738232b6a205fbf73559fba19f76b400b043af
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Thu Oct 09 17:42:46 -0700 2008 | |
| |
README | Fri May 08 13:17:06 -0700 2009 | |
| |
Rakefile | Thu Oct 09 17:42:46 -0700 2008 | |
| |
init.rb | Thu Dec 04 16:17:06 -0800 2008 | |
| |
install.rb | Fri May 08 12:33:00 -0700 2009 | |
| |
javascript/ | Fri May 08 12:33:00 -0700 2009 | |
| |
lib/ | Thu Dec 04 16:17:06 -0800 2008 | |
| |
swf/ | Thu Oct 09 18:07:10 -0700 2008 | |
| |
tasks/ | Thu Oct 09 17:42:46 -0700 2008 | |
| |
test/ | Thu Oct 09 17:42:46 -0700 2008 | |
| |
uninstall.rb | Thu Oct 09 17:42:46 -0700 2008 |
README
ClickToCopyTextfield ==================== click textfield to copy to clipboard, note that this plugin requires jQuery (or jrails). This uses the Clipboard 2.0 jQuery plugin [http://plugins.jquery.com/project/clipboard] This probably won't work with Flash 10 as Adobe has changed permissions in Flash. The author of jQuery Clipboard plans to fix it for Flash 10. In the meantime, you can use this instead for click to copy: http://github.com/mojombo/clippy/tree/master Example ======= in your view or layout, include the javascript: <%= javascript_include_tag 'jquery.clipboard.min.js' %> and then do something like this: <%= click_to_copy_text_field_tag 'share-link-1', "http://some_link", :size => 10 %> Copyright (c) 2008 Andrew Ng, released under the MIT license







