Provides access to the OS clipboard so that data can be copied to it (using a flash plugin).
Aaron Newton <aaron [dot] newton [at] cnet [dot] com> Original source: http://www.jeffothy.com/weblog/clipboard-copy/
| Mootools | Moo.js, <Utilities.js>, Common.js, Array.js, String.js, Element.js, Function.js |
| CNET | (optional) element.forms.js |
| clipboard.js | Provides access to the OS clipboard so that data can be copied to it (using a flash plugin). |
| Clipboard | Provides access to the OS clipboard so that data can be copied to it (using a flash plugin). |
| Properties | |
| copyFromElement | Copies the selected text in an element to the clipboard. |
| copy | Copies a string to the clipboard. |
| Change Log | $Source: /cvs/main/flatfile/html/rb/js/global/cnet.global.framework/common/js.widgets/clipboard.js,v $ $Log: clipboard.js,v $ Revision 1.2 2007/05/16 21:09:26 newtona fixed element reference in clipboard (added $()) |
Provides access to the OS clipboard so that data can be copied to it (using a flash plugin).
| Properties | |
| copyFromElement | Copies the selected text in an element to the clipboard. |
| copy | Copies a string to the clipboard. |
Copies the selected text in an element to the clipboard.
| element | the element that has selected text. |
$Source: /cvs/main/flatfile/html/rb/js/global/cnet.global.framework/common/js.widgets/clipboard.js,v $ $Log: clipboard.js,v $ Revision 1.2 2007/05/16 21:09:26 newtona fixed element reference in clipboard (added $())
Revision 1.1 2007/05/16 20:09:41 newtona adding new js files to redball.common.full product.picker.js now has no picklets; these are in the implementations/picklets directory ProductPicker now detects if there is no doctyp and, if not, sets the position of the picker to be fixed (no IE6 support) small docs update in element.cnet.js added new picklet: CNETProductPicker_PricePath added new picklet: NewsStoryPicker_Path new file: clipboard.js (allows you to insert text into the OS clipboard) new file: html.table.js (automates building html tables) new file: element.forms.js (for managing text inputs - get selected text information, insert content around selection, etc.)
function $A( array, start, length )
Use to iterate through iterables that are not regular arrays, such as builtin getElementsByTagName calls, arguments of a function, or an object.
function $each( iterable, fn, bind )
returns the element passed in with all the Element prototypes applied.
function $( el )