jQuery ZeroClipboard Plugin
Recently, while developing my site gfxtub.com, I came across the need to do a flash copy to clipboard. Now, this was easy enough with ZeroClipboard, but once I tried mixing it with jQuery and making multiple clipboards, stuff got messy. So, in the spirit of cleaner code, I started a new project to make the use of ZeroClipboard easier with jQuery. So, you can check out my project over at github (Link).
Basic usage of the script goes along the lines of
$('selector').zeroclipboard({text: 'This is the text to copy!'});
Thats it! You use the same method to update text and any other options, or to destroy the flash object. Also, when the .remove() is called on element the clipboard is bound to, it removes the zeroclipboard automagically. Also, any mouse events on the element select are emulated when they are preformed on the flash object.
Read the entry on github for more information, but I am trying to make clipboards as easy and painless as possible. The only problem is the use of external libraries, which I would like to minimize, but right now they work good with the script.